bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#395430: coreutils: wc's documentation should say in which order


From: Jim Meyering
Subject: Re: Bug#395430: coreutils: wc's documentation should say in which order the values are printed
Date: Sat, 28 Oct 2006 18:20:13 +0200

Vincent Lefevre <address@hidden> 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 address@hidden@dots{} address@hidden@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




reply via email to

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