Usage:
/usr/local/bin/count: [-c|-b|-e est|-n|-C listfile checkpointfile n|-p prog] [-d divisor]
-c means to only count lines - do not try to give a progress report
-b means to buffer the lines, to get accurate estimates
-s in buffer mode, means to stat lines and compute size for progress
-e lines means the user will provide an estimate of the number of lines
-n means no progress report will be given (IE, be a primitive "cat")
-C listfile checkpointfile n means to read filenames from listfile,
write checkpoint indices to checkpointfile, and to checkpoint after every n files
-p prog means to run program once per input line. "%s" in the string is replaced with the input line
-0 means to read lines null terminated, not newline terminated
-d adjusts how often to report
-o progress output overstrikes
You can e-mail the author with questions or comments: