Re: Confusing wc man page

Jim Meyering <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
Thanks for the suggestion.
I've just done that.

  $ ./wc --help
  Usage: ./wc [OPTION]... [FILE]...
  Print byte, word, and newline counts for each FILE, and a total line if
  ...

Gaute Hvoslef Kvalnes <[email protected]> wrote:
> The first line of the man page of wc(1) is confusing. It says:
>
>   wc - print the number of bytes, words, and lines in files
>
> The main text and the wc --help text says instead:
>
>   Print line, word, and byte counts for each FILE, (...)
>
> It's the different order of lines/words/bytes that confused me. I think the
> first line should be changed to match the default output of the wc command
> (lines, words and bytes).
>
> The same applies to the info page, which starts with the text:
>
> `wc': Print byte, word, and line counts
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.