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
5.9k stars 605 forks source link

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

Closed vmchale closed 4 months ago

vmchale commented 4 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 4 months ago

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

vmchale commented 4 months ago

Yes, that makes sense!

Thank you!