Transform fields from a tab-separated file with custom functions.
Médéric Hurier f47ff46bb4 Update 'LICENSE.txt' 3 months ago
examples Initial commit 1 year ago
.gitignore Initial commit 1 year ago
LICENSE.txt Update 'LICENSE.txt' 3 months ago Initial commit 1 year ago
tsvmap.clj Changed description 1 year ago
tsvmap_test.clj Initial commit 1 year ago


Linux provides many utilities to handle CSV/TSV files. However, there is use cases when these tools are not enough.

The goal of this script is to provide transformation functions with the full power of a programming language.

NOTE: this script requires Clojure Boot


cat input.tsv | ./tsvmap.clj -oIDENT -oUNIQ -OFREQALL > output.tsv 

Where -o are positional operators and -O is a catchall operator.


You can find examples in the examples/ folder.