Subject: bug#5861 closed by Jim Meyering <[email-masked]> (Re: bug#5861: [PATCH] Explain what makes a 'word' as counted by wc.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 08 Apr 2010 22:16:02 +0000

This is an automatic notification regarding your bug report
which was filed against the coreutils package:

#5861: [PATCH] Explain what makes a 'word' as counted by wc.

It has been closed by Jim Meyering <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jim Meyering <[email-masked]> by
replying to this email.

-- 
5861: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5861
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#5861: [PATCH] Explain what makes a 'word' as counted by wc.
From: Jim Meyering <[email-masked]>
To: James Youngman <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Fri, 09 Apr 2010 00:15:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks!
Applied.

Subject: [PATCH] Explain what makes a 'word' as counted by wc.
From: James Youngman <[email-masked]>
To: [email-masked]
Cc: James Youngman <[email-masked]>, [email-masked]
Date: Thu, 8 Apr 2010 10:58:52 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 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