BurntSushi / xsv

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

need help on concat two columns into one #265

Closed verajosemanuel closed 3 years ago

verajosemanuel commented 3 years ago

for processing a large file and compose a key I need to concat two columns into one.

# from this
header1,header2,header3
A,1,Hello
A,2,Bye

# to this

newHeader1,header3
A1,Hello
A2,Bye

any suggestion?

BurntSushi commented 3 years ago

xsv can't perform arbitrary manipulation of CSV data. You'll need to write a program.