4 ms·
this doesn't directly address the ease-of-editing concern, but if you have csv (or tsv) and want ascii (0x1f, 0x1e) or unicode(U+241F, U+241E) separated (or vic
by kbouck 4y ago
this doesn't directly address the ease-of-editing concern, but if you have csv (or tsv) and want ascii (0x1f, 0x1e) or unicode(U+241F, U+241E) separated (or vice versa), 'miller' [0] is a command line tool that supports converting among these formats with these one-liners:
mlr --icsv --oasv cat input.csv # csv to asv
mlr --iasv --ocsv cat input.asv # asv to csv
[0] https://miller.readthedocs.io/en/latest/ https://miller.readthedocs.io/en/latest/
[1] https://miller.readthedocs.io/en/latest/file-formats/#csvtsvasvusvetc https://miller.readthedocs.io/en/latest/file-formats/#csvtsv...
- jph 4y agoYou're right, Miller is great for this, and it turns out that Miller already offers Unicode Separated Values (USV).