csv-min

NAME

csv-min - take a minimum value of numerical or string column(s)

SYNOPSIS

csv-min [OPTION]…

DESCRIPTION

Read CSV stream from standard input and print back to standard output minimum values of chosen columns.

-c, --columns=NAME1[,NAME2…]
use these columns
-n NEW-NAME1[,NEW-NAME2]
create columns with these names, instead of default min(NAME)
-s, --show
print output in table format
-S, --show-full
print output in table format with pager
-T, --table=NAME
apply to rows only with _table column equal NAME
--help
display this help and exit
--version
output version information and exit

EXAMPLES

csv-ls -l | csv-min -c size
print the smallest file in the current directory

SEE ALSO

csv-show(1), csv-nix-tools(7)