summaryrefslogtreecommitdiff
path: root/doc/textutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-02 14:38:49 +0000
committerJim Meyering <jim@meyering.net>1997-11-02 14:38:49 +0000
commit6327a7ad45af79e725e22be53bb5d99080d4c196 (patch)
tree119d59959f5d36b587bbb197d2773a5a2dcaa015 /doc/textutils.texi
parentae21be058fc04224b32649606247115d8084f2ef (diff)
downloadcoreutils-6327a7ad45af79e725e22be53bb5d99080d4c196.tar.xz
*** empty log message ***
Diffstat (limited to 'doc/textutils.texi')
-rw-r--r--doc/textutils.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/textutils.texi b/doc/textutils.texi
index f29384a82..fdaf93a0a 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