From: Jim Meyering Date: Sun, 2 Nov 1997 14:38:49 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-1_22c~138 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6327a7ad45af79e725e22be53bb5d99080d4c196;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/doc/textutils.texi b/doc/textutils.texi index f29384a82d..fdaf93a0a7 100644 --- a/doc/textutils.texi +++ b/doc/textutils.texi @@ -1513,6 +1513,10 @@ wc --bytes --words @noindent prints both the byte counts and the word counts. +With the @code{--max-line-length} option, @code{wc} prints the length +of the longest line per file, and if there is more than one file it +prints the maximum (not the sum) of those lengths. + The program accepts the following options. Also see @ref{Common options}. @table @samp @@ -1537,6 +1541,12 @@ Print only the word counts. @opindex --lines Print only the newline counts. +@item -L +@itemx --max-line-length +@opindex -L +@opindex --max-line-length +Print only the maximum line lengths. + @end table