]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: wc: clarify that wc supports character counts master
authorPádraig Brady <P@draigBrady.com>
Tue, 14 Jul 2026 16:30:29 +0000 (17:30 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 14 Jul 2026 16:30:29 +0000 (17:30 +0100)
* doc/coreutils.texi: Adjust command summary.
* man/wc.x: Likewise.
Fixes https://bugs.gnu.org/81405

doc/coreutils.texi
man/wc.x

index 5cc831f8481ed3b2cd44407fd2436ebc8dd02792..2fa8896704c92cc923208e9ef34605391707e49b 100644 (file)
@@ -261,7 +261,7 @@ Output of parts of files
 
 Summarizing files
 
-* wc invocation::                Print newline, word, and byte counts
+* wc invocation::                Print line, word, and character counts
 * sum invocation::               Print checksum and block counts
 * cksum invocation::             Print CRC checksum and byte counts
 * md5sum invocation::            Print or check MD5 digests
@@ -3693,7 +3693,7 @@ These commands generate just a few numbers representing entire
 contents of files.
 
 @menu
-* wc invocation::               Print newline, word, and byte counts.
+* wc invocation::               Print line, word, and character counts.
 * sum invocation::              Print checksum and block counts.
 * cksum invocation::            Print CRC checksum and byte counts.
 * md5sum invocation::           Print or check MD5 digests.
@@ -3704,7 +3704,7 @@ contents of files.
 
 
 @node wc invocation
-@section @command{wc}: Print newline, word, and byte counts
+@section @command{wc}: Print newline, word, and byte or character counts
 
 @pindex wc
 @cindex byte count
index e1d9b4bf76595861969def7a1a812415b294cee4..6a40f1688551748582305864b32e7f9780f7e149 100644 (file)
--- a/man/wc.x
+++ b/man/wc.x
@@ -1,4 +1,4 @@
 [NAME]
-wc \- print newline, word, and byte counts for each file
+wc - word, line, and byte or character count
 [DESCRIPTION]
 .\" Add any additional description here