From: Pádraig Brady Date: Tue, 14 Jul 2026 16:30:29 +0000 (+0100) Subject: doc: wc: clarify that wc supports character counts X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fcoreutils.git doc: wc: clarify that wc supports character counts * doc/coreutils.texi: Adjust command summary. * man/wc.x: Likewise. Fixes https://bugs.gnu.org/81405 --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 5cc831f848..2fa8896704 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 diff --git a/man/wc.x b/man/wc.x index e1d9b4bf76..6a40f16885 100644 --- 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