--total
When to print a line with total counts; WHEN can be: auto, always, only, never.
An option of wcx.
Usage
wcx --total=WHEN [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--total | WHEN | auto | when to print a line with total counts; WHEN can be: auto, always, only, never |
Examples
Count several files without the total line, or force it for a single file
wcx -l --total=never *.go && wcx -l --total=always main.goPrint only the grand total for a list of files found elsewhere
find . -name '*.go' -print0 | wcx -l --files0-from=- --total=onlyHelp in the terminal
gnux help wcx --total