.Xr botch fix
[unix-history] / usr / src / libexec / bugfiler / sendbug.1
index aedad2f..0aef068 100644 (file)
@@ -3,35 +3,55 @@
 .\"
 .\" %sccs.include.redist.man%
 .\"
 .\"
 .\" %sccs.include.redist.man%
 .\"
-.\"     @(#)sendbug.1  6.5 (Berkeley) %G%
+.\"     @(#)sendbug.1  6.6 (Berkeley) %G%
 .\"
 .\"
-.TH SENDBUG 1 "%Q"
-.UC 5
-.ad
-.SH NAME
-sendbug \- mail a system bug report to 4bsd-bugs
-.SH SYNOPSIS
-.B sendbug [ address ]
-.SH DESCRIPTION
-.PP
+.Dd 
+.Dt SENDBUG 1
+.Os BSD 4.2
+.Sh NAME
+.Nm sendbug
+.Nd mail a system bug report to 4bsd-bugs
+.Sh SYNOPSIS
+.Nm sendbug
+.Op Ar address
+.Sh DESCRIPTION
 Bug reports sent to `4bsd-bugs@Berkeley.EDU' are intercepted
 by a program which expects bug reports to conform to a standard format.
 Bug reports sent to `4bsd-bugs@Berkeley.EDU' are intercepted
 by a program which expects bug reports to conform to a standard format.
-.I Sendbug
+.Nm Sendbug
 is a shell script to help the user compose and mail bug reports
 in the correct format.
 is a shell script to help the user compose and mail bug reports
 in the correct format.
-.I Sendbug
+.Nm Sendbug
 works by invoking the editor specified by the environment variable
 works by invoking the editor specified by the environment variable
-.I EDITOR
+.Ev EDITOR
 on a temporary copy of the bug report format outline. The user must fill in the
 on a temporary copy of the bug report format outline. The user must fill in the
-appropriate fields and exit the editor.  The default editor is
-.IR vi (1).
-.I Sendbug
-then mails the completed report to `4bsd-bugs@Berkeley.EDU' or the address
+appropriate fields and exit the editor.
+.Nm Sendbug
+then mails the completed report to `4bsd-bugs@Berkeley.EDU' or the
+.Ar address
 specified on the command line.
 specified on the command line.
-.SH FILES
-.nf
-.ta \w'/usr/ucb/bugformat       'u
-/usr/ucb/bugformat     contains the bug report outline
-.fi
-.SH "SEE ALSO"
-vi(1), environ(7), bugfiler(8), sendmail(8)
+.Sh ENVIRONMENT
+.Nm Sendbug
+will utilize the following environment variable if it exists:
+.Tw Fl
+.Tp Ev EDITOR
+Specifies the preferred editor. If
+.Ev EDITOR
+is not set,
+.Nm
+defaults to
+.Xr vi 1 .
+.Tp
+.Sh FILES
+.Dw /usr/share/misc/bugformat
+.Di L
+.Dp Pa /usr/share/misc/bugformat
+contains the bug report outline
+.Dp
+.Sh SEE ALSO
+.Xr vi 1 ,
+.Xr environ 7 ,
+.Xr bugfiler 8 ,
+.Xr sendmail 8
+.Sh HISTORY
+.Nm Sendbug
+appeared in 4.2 BSD.