diff options
author | charnier <charnier@FreeBSD.org> | 2001-02-06 20:01:40 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2001-02-06 20:01:40 +0000 |
commit | 54fa1fab4444b4363042080b30c232fc096b663b (patch) | |
tree | c68dea6a99684238b395cca77ed9594820b9b3ec | |
parent | 4793d374a0033084a4f9740552e348cfc927d67d (diff) | |
download | FreeBSD-src-54fa1fab4444b4363042080b30c232fc096b663b.zip FreeBSD-src-54fa1fab4444b4363042080b30c232fc096b663b.tar.gz |
Rework diagnostics text
Remove unused #include
-rw-r--r-- | usr.bin/comm/comm.1 | 7 | ||||
-rw-r--r-- | usr.bin/comm/comm.c | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/comm/comm.1 b/usr.bin/comm/comm.1 index 1fbfe71..3d0e158 100644 --- a/usr.bin/comm/comm.1 +++ b/usr.bin/comm/comm.1 @@ -63,7 +63,7 @@ and lines in both files. The filename ``-'' means the standard input. .Pp The following options are available: -.Bl -tag -width Ds +.Bl -tag -width indent .It Fl 1 Suppress printing of column 1. .It Fl 2 @@ -84,8 +84,9 @@ printed in column number three will have one. assumes that the files are lexically sorted; all characters participate in line comparisons. .Sh DIAGNOSTICS -.Nm Comm -exits 0 on success, >0 if an error occurred. +The +.Nm +utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr cmp 1 , .Xr diff 1 , diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index c1a23a0..362cbcd 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -50,11 +50,9 @@ static const char rcsid[] = #include <ctype.h> #include <err.h> -#include <errno.h> #include <limits.h> #include <locale.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <unistd.h> |