wireservice / csvkit

A suite of utilities for converting to and working with CSV, the king of tabular file formats.
https://csvkit.readthedocs.io
MIT License
6.03k stars 603 forks source link

csvformat: add command-line option for output in ASV, i.e. ascii unit separator #1232

Closed vmchale closed 9 months ago

vmchale commented 9 months ago

Right now, if I'd like to convert csv to ASV, I need to input the ascii unit separaator in my shell:

csvformat -D$'\x1f'

...which is a bit of a pain. A --asv flag, like --out-tabs, would be quite nice.

jpmckinney commented 9 months ago

ASV would also imply using \x1e as the record separator. Is that your intention?

vmchale commented 9 months ago

Yes, that makes sense!

Thank you!