mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 03:14:58 +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.
24 lines
488 B
Markdown
24 lines
488 B
Markdown
## Name
|
|
|
|
wc - word, line, character, and byte count
|
|
|
|
## Synopsis
|
|
|
|
```sh
|
|
$ 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
|
|
|
|
<!-- Auto-generated through ArgsParser -->
|