Unimaginative Username
kiwifarms.net
- Dołączono
- 27 Maj 2025
There's also the big question about how you quote the delimiter, with one school saying you enclose the entire field in doublequotes (God help you if the field also contains a literal doublequote, because you now have the issue of whether to allow Pascal-style quoting or C-style quoting or maybe both), another school saying you enclose the entire field in singlequotes, another school saying doublequotes and singlequotes are both good as long as the opening and closing delimiters match, and the other school saying you escape it with a backslash.It's all fun and games until somebody has a different delimiter than a comma like those shitheads in europe.
The best way is to probably just use the old /etc/passwd format, where fields are separated by colons (or whatever you like), and literal separators or backslashes are quoted by preceding them with a backslash, since that's at least simple and consistent.