bug-textutils
[Top][All Lists]
Advanced

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

wc (textutils) 2.0.14


From: Richard Kimber
Subject: wc (textutils) 2.0.14
Date: Mon, 25 Feb 2002 23:21:23 +0000

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]