Skip to Content
gnux

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

ShortLongValueDefaultMeaning
--totalWHENautowhen 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.go
find . -name '*.go' -print0 | wcx -l --files0-from=- --total=only

Help in the terminal

gnux help wcx --total

On this page