Skip to content
/ kut Public

A cut command for CSV input

License

Notifications You must be signed in to change notification settings

jalan/kut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kut

Docs Tests Report Card

$ kut -h
Usage: kut [OPTION] LIST

kut is a cut command for CSV (RFC 4180) input. kut reads from standard input
and writes to standard output.

LIST is a list of ranges separated by commas, using the same rules as cut(1).

Options:
  -d, --delimiter=DELIM    Use DELIM as field delimiters instead of commas.
  -h, --help               Show this help message.

Why

cut(1) isn't sufficient for certain CSV files. There are some other tools that solve this problem, but kut

  • has no dependencies
  • has a simple interface
  • only does one thing
  • is a statically linked executable

How

go install github.com/jalan/kut/cmd/kut