csvcatrow

Crates.iocsvcatrow
lib.rscsvcatrow
version0.1.0
sourcesrc
created_at2022-10-06 14:48:39.489673
updated_at2022-10-06 14:48:39.489673
descriptionCLI tool to concatenate csv (comma-separated values) files rowwise taking column headers into account
homepage
repositoryhttps://github.com/vi/csvcatrow
max_upload_size
id681390
size7,919
Vitaly Shukela (vi)

documentation

README

csvcatrow

Tool for concatenating many small csv files into one big table row-wise, analogue of xsv cat rows, but handling reordered or different columns.

$ cat 1.csv
a,b
1,2

$ cat 2.csv
b,a
2,1

$ cat 3.csv
a,b,c
1,2,3

$ csvcatrow 1.csv 2.csv 3.csv
a,b,c
1,2,
1,2,
1,2,3

Built it with cargo install --path . or download pre-built execitables from Github Releases.

Commit count: 5

cargo fmt