No improvement of CSV handling will ever improved on that.
No improvement of CSV handling will ever improved on that.
"ASCII Delimited Text – Not CSV or TAB delimited text": https://news.ycombinator.com/item?id=7474600
I suppose the best way would be a suite of tools to edit them that are compatible with existing editors? TBH a great value-add for adoption would be versioning s.t. you can see (and revert) when other tools mess up your files.
https://git.sr.ht/~sforman/sv/tree/master/item/sv.py
(Python code for ASCII-separated values. TL;DR: it's so stupid simple that I feel any objection to using this format has just got to be wrong. It's like "Hey, we don't have to keep stabbing ourselves in the face." ... "But how will we use our knives?" See? It's like that.)
How do I edit the data file in a text editor?
More generally, how do I edit the entire data file, including field/record/etc seperators, in a editor that can display only characters that are valid content of data fields?
(Not that CSV (barring de-facto-nonstandard extensions like rfc4180's `"b CRLF bb"` and `"b""bb"`) is any good for this either, of course.)
Choose your tools wisely, I'm not aware the situation.
> How do I edit the data file in a text editor?
Use a non-sucky text editor.
For example, AFAICR NotePad++ displays those characters. Windows doesn't have any ultra-easy way to input them, but within NP++ you can copy-paste them.
Great! Now go back to the other half of the requirement: how do I store all characters that NotePad++ displays in the content of a data field?
Their "but why" section should really go into more detail about why filters are not 100% if your data has the possibility of containing your preferred line/record separator.
But real world, I have never had a situation where a csv-to-awk filter (written in awk of course) did not work.