Subject: bin/16594: wc(1) lacks -m in usage message
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/30/2002 19:03:18
>Number:         16594
>Category:       bin
>Synopsis:       wc(1) lacks -m in usage message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 30 16:04:01 PDT 2002
>Originator:     Ryan Younce
>Release:        NetBSD 1.5ZC
System: NetBSD jay 1.5ZC NetBSD 1.5ZC (JAY) #0: Mon Apr 29 13:02:29 EDT 2002 roo
t@jay:/root/kernel/compile/JAY i386
Architecture: i386 
Machine: i386
	the wc(1) command lacks the -m option (counts characters rather than
	bytes) in the usage message.  The changes in the submitted patch
	reflect the synopsis given in the manual.
	wc -Z (or some other invalid option)
--- wc.c.orig	Wed May  1 18:43:06 2002
+++ wc.c	Wed May  1 18:43:37 2002
@@ -340,6 +340,6 @@
-	(void)fprintf(stderr, "usage: wc [-clw] [file ...]\n");
+	(void)fprintf(stderr, "usage: wc [-c | -m] [-lw] [file ...]\n");