Vincent Lefevre <[EMAIL PROTECTED]> wrote:
> Though one can guess the order, wc's documentation (info file, man page,
> and wc --help) should say in which order the values are printed:
> "wc -cmlLw FILE" outputs the numbers of newlines, words, characters,
> bytes and the longest line in this order.

Thanks for the report.
I've done this, upstream:

        * coreutils.texi (wc invocation): When giving the order in which
        the various "counts" are listed, also mention "maximum line length".
        Prompted by a report from Vincent LeFevre.

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index ee81792..3cf34af 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2950,7 +2950,8 @@ wc [EMAIL PROTECTED]@dots{} [EMAIL PROTECTED]@do
 given as an argument, it prints the file name following the counts.  If
 more than one @var{file} is given, @command{wc} prints a final line
 containing the cumulative counts, with the file name @file{total}.  The
-counts are printed in this order: newlines, words, characters, bytes.
+counts are printed in this order: newlines, words, characters, bytes,
+maximum line length.
 Each count is printed right-justified in a field with at least one
 space between fields so that the numbers and file names normally line
 up nicely in columns.  The width of the count fields varies depending


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to