mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 10:35:00 +00:00

If more than one file is specified on the command line and the `-L` option is used, the totals field will show the longest line encountered; it is not a sum like the other values.
488 B
488 B
Name
wc - word, line, character, and byte count
Synopsis
$ wc [--lines] [--bytes] [--words] [--max-line-length] [file...]
Options
--help
: Display help message and exit--version
: Print version-l
,--lines
: Output line count-c
,--bytes
: Output byte count-w
,--words
: Output word count-L
,--max-line-length
: Output byte count of the longest line
Arguments
file
: File to process