Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/wc



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.




Home | Main Index | Thread Index | Old Index