BurntSushi / xsv

A fast CSV command line toolkit written in Rust.
The Unlicense
10.29k stars 317 forks source link

Feature Request: `teip` like feature #260

Open ahrzb opened 3 years ago

ahrzb commented 3 years ago

Teip is a command line utility to perform other commands only on a specific column of input data. Example(from teip docs):

$ echo "100 200 300 400" | teip -f 3 sed 's/./@/g'

Will perform sed only on the third column of input, the output will be:

100 200 @@@ 400

I wish there was a subcommand which did the same on csv columns, strip header, unescape strings, pass to subcommand, escape output again, put it back into csv.