The man entry for wc is misleading. It says: wc - print the number of bytes, words, and lines in files but it actually prints the number of bytes, words, and lines in files *and the filename*
If wc is used as part of a wider processing sequence, it is irritating to find that I have to edit wc's output to make it available to other processes. Changing the man entry would help to avoid confusion, but the program itself needs changing. There is little point in telling someone that the numbers returned relate to the file that the user specified on the command line. Most people have enough confidence in how the operating system supplies data to programs. - Richard Kimber -- Richard Kimber Political Science Resources http://www.psr.keele.ac.uk/ _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils