[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in 'wc' --help output
From: |
DervishD |
Subject: |
Bug in 'wc' --help output |
Date: |
Sat, 6 Sep 2003 20:36:34 +0200 |
User-agent: |
Mutt/1.4i |
User-agent: |
Mutt/1.4i <http://www.mutt.org> |
Hi all :)
In GNU coreutils 5.0, the 'wc' binary outputs this when invoked
with --help option:
Usage: wc [OPTION]... [FILE]...
Print byte, word, and newline counts for each FILE, and a total line if
more than one FILE is specified. With no FILE, or when FILE is -,
read standard input.
[...]
Well, according to the Single Unix Specification v3 and (AFAIK)
POSIX, the default output of wc are newlines, words and bytes, not
the reverse. 'wc' *correctly* outputs the information in that order,
but the --help text is not correct. It should read:
"Print newline, word and byte counts for each FILE...."
Thanks a lot for coreutils, finally I have almost all my system
utilities updated together! That's nice, truly.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
- Bug in 'wc' --help output,
DervishD <=