3 ms·
The proposal is TSV but using ^_ instead of ^I (tab) to separate columns and ^^ instead of ^M (CR) or ^J (LF) to separate rows. So instead of being unable to p
by kragen 5y ago
The proposal is TSV but using ^_ instead of ^I (tab) to separate columns and ^^ instead of ^M (CR) or ^J (LF) to separate rows. So instead of being unable to put ^I and ^J in your table cells you are now unable to put ^_ and ^^ in your table cells.
That sounds exactly as good, or bad, as TSV. So, okay? Sure, do that if you like, that sounds fine.
Emacs TAGS files, Info files, and BABYL mailboxes https://quimby.gnus.org/notes/BABYL https://quimby.gnus.org/notes/BABYL similarly use weird control characters as delimiters.
- hermitcrab 5y agoUS and RS characters are much less likely to appear in textual data than Tab or LF. Also I believe this was the original purpose for US and RS in ASCII. So I'm not sure it is 'weird' to use them for that (although it does seem to be uncommon).
- kragen 5y agoYeah, it kind of was; also FS and GS. GNU Info files and Babyl files use US that way. Really though you can define whatever weird format you want if you're writing the code for it.