Skip to content
CLI tool to perform sort of sort|uniq + apply an aggregate function to each field of the CSV.
C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tests
.gitignore
Makefile.am
README
aggr.c
autogen.sh
configure.ac
csv.c
group.c
groupby.c
groupby.h
jhash.c
jhash.h
main.c

README

Command line
------------

Main parameter is -a :

-a field-spec[:func]

if not specified, func is rem

field-spec: n | n-m | -m | n- | field-spec,field-spec | !field-spec

where n and m are positive integers (fields are numbered from 1)

func : rem | avg | min | max | sum | first | last | smaller | greatest

sum, avg, min and max require numeric values parsable by strtoll().

Something went wrong with that request. Please try again.