Skip to content

codesInML/unix-cut-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIX CUT TOOL

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 

About

A clone of the unix cut tool.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages