On 13/07/2026 18:55, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:
On 13/07/2026 01:20, Dan Jacobson wrote:
NAME
wc - print newline, word, and byte counts for each file
^character,
The above was trying to summarize the functionality and default mode.
If you add character, then you'd probably have to also mention the -L
functionality, i.e.:
wc - print newline, word, byte, character counts, or maximum line width
It's a bit wordy TBH, so I'm not sure.
I couldn't think of a way to make it not sound wordy either. POSIX has
this [1]:
wc - word, line, and byte or character count
But that sounds a little strange to me. I think it is the double
conjunctions, "and" and "or".
Collin
[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/wc.html
It's a bit better than what we have,
so let's just go with the POSIX wording.
cheers,
Padraig