From a4d74bb6df0fbb1917d99c846025e95069dfef83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Tue, 14 Jul 2026 17:30:29 +0100 Subject: [PATCH] doc: wc: clarify that wc supports character counts * doc/coreutils.texi: Adjust command summary. * man/wc.x: Likewise. Fixes https://bugs.gnu.org/81405 --- doc/coreutils.texi | 6 +++--- man/wc.x | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 5cc831f84..2fa889670 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 e1d9b4bf7..6a40f1688 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