doc: make wc --help say how it defines a 'word'
authorJames Youngman <jay@gnu.org>
Thu, 8 Apr 2010 09:58:52 +0000 (10:58 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 8 Apr 2010 21:53:12 +0000 (23:53 +0200)
* src/wc.c (usage): Add wc's definition of "word".

src/wc.c

index 0698ae1..6df7fed 100644 (file)
--- a/src/wc.c
+++ b/src/wc.c
@@ -117,7 +117,8 @@ Usage: %s [OPTION]... [FILE]...\n\
       fputs (_("\
 Print newline, word, and byte counts for each FILE, and a total line if\n\
 more than one FILE is specified.  With no FILE, or when FILE is -,\n\
-read standard input.\n\
+read standard input.  A word is a non-zero-length sequence of characters\n\
+delimited by white space.\n\
   -c, --bytes            print the byte counts\n\
   -m, --chars            print the character counts\n\
   -l, --lines            print the newline counts\n\