Print newline, word, and byte counts
wc -c {bytes} -m {chars} -l {lines} -L {max-line-length} -w {words} ๐ bytes ๐ chars ๐ lines ๐ max-line-length ๐ words wc -c {bytes} -m {chars} -l {lines} -L {max-line-length} -w {words} Sandbox: execFile · Timeout: 30s
system.file.wc system.file.search system.file.process system.file.copy system.file.move system.file.delete | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
bytes | string | No | - | print the byte counts | -c, --bytes |
chars | string | No | - | print the character counts | -m, --chars |
lines | string | No | - | print the newline counts --debug indicate what line count acceleration is used --files0-from=F read input from the files specified by NUL-terminated names in file F; If F is -, read names from stan... | -l, --lines |
max-line-length | string | No | - | print the maximum display width | -L, --max-line-length |
words | string | No | - | print the word counts --total=WHEN when to print a line with total counts; WHEN can be: auto, always, only, never --help display this help and exit --version output version information and exit | -w, --words |
files0_from | boolean | No | - | --files0-from | |
help | boolean | No | - | --help | |
version | boolean | No | - | --version |
Basic usage with bytes
wc ${bytes} Display help message
wc --help wc is a command-line utility for print newline, word, and byte counts.
wc -c {bytes} -m {chars} -l {lines} -L {max-line-length} -w {words}