coreutils
[Top][All Lists]
Advanced

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

[PATCH] doc: note the order in which wc counts are printed


From: Benoît Knecht
Subject: [PATCH] doc: note the order in which wc counts are printed
Date: Mon, 11 Jul 2011 23:10:33 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

This information has already been added to the Texinfo manual, but was
missing from the --help output.

* src/wc.c (usage): As above, for --help.
Reported by Vincent Lefevre in http://bugs.debian.org/395430.
---
 THANKS.in |    1 +
 src/wc.c  |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/THANKS.in b/THANKS.in
index 4bbee80..05d5922 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -589,6 +589,7 @@ Uwe H. Steinfeld                    address@hidden
 Vesselin Atanasov                   address@hidden
 Ville Skyttä                        address@hidden
 Vin Shelton                         address@hidden
+Vincent Lefevre                     address@hidden
 Vineet Chadha                       address@hidden
 Vitali Lovich                       address@hidden
 Vitaly A. Ostanin                   address@hidden
diff --git a/src/wc.c b/src/wc.c
index c4b5a91..43b46a3 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -120,6 +120,8 @@ 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.  A word is a non-zero-length sequence of characters\n\
 delimited by white space.\n\
+The options below may be used to select which counts are printed, always in\n\
+the following order: newline, word, character, byte, maximum line length.\n\
   -c, --bytes            print the byte counts\n\
   -m, --chars            print the character counts\n\
   -l, --lines            print the newline counts\n\
-- 
1.7.5.4




reply via email to

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