summaryrefslogtreecommitdiffstats
path: root/usr.bin/biff
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2001-12-12 18:22:09 +0000
committercharnier <charnier@FreeBSD.org>2001-12-12 18:22:09 +0000
commitcc22344fd1fb72c0f89bfae4564cd0f47509ff7f (patch)
treef055ddd81f5b267dcc7b6434cc2bff1fee682855 /usr.bin/biff
parentb850c9916581482ad70b00d930383bf24108bae7 (diff)
downloadFreeBSD-src-cc22344fd1fb72c0f89bfae4564cd0f47509ff7f.zip
FreeBSD-src-cc22344fd1fb72c0f89bfae4564cd0f47509ff7f.tar.gz
Start option definition with: ``The following options are available''
Use .Ev for env variables. Remove unused #includes, and sort others.
Diffstat (limited to 'usr.bin/biff')
-rw-r--r--usr.bin/biff/biff.113
-rw-r--r--usr.bin/biff/biff.c8
2 files changed, 8 insertions, 13 deletions
diff --git a/usr.bin/biff/biff.1 b/usr.bin/biff/biff.1
index decca64..f7b26f9 100644
--- a/usr.bin/biff/biff.1
+++ b/usr.bin/biff/biff.1
@@ -46,13 +46,12 @@
informs the system whether you want to be notified when mail arrives
during the current terminal session.
.Pp
-Options supported by
-.Nm :
-.Bl -tag -width 4n
+The following options are available:
+.Bl -tag -width indent
.It Cm n
-Disables notification.
+Disable notification.
.It Cm y
-Enables notification.
+Enable notification.
.El
.Pp
When mail notification is enabled, the header and first few lines of
@@ -68,11 +67,11 @@ to be executed at each login.
.Nm Biff
operates asynchronously.
For synchronous notification use the
-.Ar MAIL
+.Ev MAIL
variable of
.Xr sh 1
or the
-.Ar mail
+.Ev mail
variable of
.Xr csh 1 .
.Sh SEE ALSO
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index a32b57d..bf20fa9 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -46,14 +46,10 @@ static char sccsid[] = "@(#)biff.c 8.1 (Berkeley) 6/6/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
#include <sys/stat.h>
-#include <errno.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <err.h>
+#include <stdio.h>
+#include <unistd.h>
static void usage __P((void));
OpenPOWER on IntegriCloud