Subject: misc/26196: missing option in the usage of comm(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/08/2004 13:48:11
>Number: 26196
>Category: misc
>Synopsis: missing option in the usage of comm(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 08 04:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #19: Wed Jul 7 22:20:57 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-f is missing in the usage of comm(1).
>How-To-Repeat:
comm
>Fix:
Index: comm/comm.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/comm/comm.c,v
retrieving revision 1.13
diff -u -r1.13 comm.c
--- comm/comm.c 7 Aug 2003 11:13:27 -0000 1.13
+++ comm/comm.c 7 Jul 2004 18:20:54 -0000
@@ -192,6 +192,6 @@
usage()
{
- (void)fprintf(stderr, "usage: comm [-123] file1 file2\n");
+ (void)fprintf(stderr, "usage: comm [-123f] file1 file2\n");
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: