1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 10:14:58 +00:00
serenity/Base/usr/share/man/man1/wc.md
Tim Ledbetter 702054dcbc wc: Add -L option to show the length of the longest line
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.
2023-06-23 06:24:33 +02:00

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 -->