PR/49960 CVS commit: src/usr.bin/wc

"Robert Elz" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/49960; it has been noted by GNATS.

From: "Robert Elz" <[email protected]>
To: [email protected]
Cc: 
Subject: PR/49960 CVS commit: src/usr.bin/wc
Date: Mon, 2 Feb 2026 21:16:02 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon Feb  2 21:16:02 UTC 2026
 
 Modified Files:
 	src/usr.bin/wc: wc.1
 
 Log Message:
 PR standards/49960 - note -c and -m are incompatible
 
 Note, this is not really a standards issue, POSIX says:
 
 	If the -m option is specified, the number of characters shall
 	replace the <bytes> field in this format.
 
 There is no output format in POSIX which permits both bytes and
 characters to be specified, and since which value represents which
 counter is determined entirely by position, which of bytes or
 characters would come first if both were to be presented would be
 indeterminate, so I won't be doing that.
 
 Slightly different wording used than that suggested bty Sebastian Ritter
 in the PR.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.18 -r1.19 src/usr.bin/wc/wc.1
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.