$ stats [options] FILE ...
or
$ cat FILE | stats [option]
options:
--file file path
-f, --fields select only these fields to take stats
-d, --delimiter specify the delimiter to split the log
--more calculate more results(NOTE: require more memory)
-t, --through STDIN is shown
--tsv show the result as TSV
--csv show the result as CSV
-di, --digit number of the digit after decimal point(default:2)
--no-comma not add the comma
--crlf put a line feed as CRLF
--cr put a line feed as CR
(default line feed is LF)
-s, --strict treats only the strict numbers field
--rc rc file(default: .statsrc)
-h, --help show this help
-v, --version show the version

stats command will look for a configuration file before reading its command line parameters.

The default configuration file is .statsrc but you can specify it by --rc option. And the location of a configuration file is $HOME but if the STATSRC_DIR environment variable is set, stats will look for config in that directory or current.

The configuration file is just a list of names and values, separated by colons. Values that take lists are just space separated. A sample configuration file might read: