This package copies the basic functionalities of the Unix cut tool. Works with csv, tsv etc. By default, the delimiter is set to a tab.
To get the 2 column in a tsv file, simply run
./cuttool -f2 sample.tsv
Or the first and third column in a csv file
./cuttool -f1,3 -d, fourchords.csv
This also works
./cuttool -d, -f"1 2, 4" fourchords.csv
Cuttool also works well with other unix tools as shown below
./cuttool -f2 -d, fourchords.csv | uniq | wc -l