GNU bug report logs - #5861
[PATCH] Explain what makes a 'word' as counted by wc.

Previous Next

Package: coreutils;

Reported by: James Youngman <jay <at> gnu.org>

Date: Thu, 8 Apr 2010 11:24:04 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: James Youngman <jay <at> gnu.org>
To: bug-coreutils <at> gnu.org
Cc: James Youngman <jay <at> gnu.org>, coreutils <at> tlinx.org
Subject: [PATCH] Explain what makes a 'word' as counted by wc.
Date: Thu,  8 Apr 2010 10:58:52 +0100
---
 src/wc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/wc.c b/src/wc.c
index 0698ae1..6df7fed 100644
--- 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\
-- 
1.7.0






This bug report was last modified 15 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.