News for hackers. Stuff that matters.
Re:Text Processing in the Shell by bryanrasmussen on Tuesday March 17, 2020 @02:57PM (#22608759)
ok well I can understand not wanting json when all you need is something simpler, but I'm not sure if I understand unparseable - I mean if it is JSON then it is parseable.
Re:Text Processing in the Shell by enriquto on Tuesday March 17, 2020 @04:46PM (#22610209)
You can only parse json easily by using json libraries. Plain text, or "field=value" pairs, you can easily cut(1) or grep(1), or sed(1) to your pleasure. This is what I mean by parseable. Parseable trivially by tools that do not understand the format. I can also sed and awk json files, and I do, but it is extremely painful; and more often than not these files are nothing more than simple lists of variables with values, for which the use of json is a ridiculous overkill.
Re:Text Processing in the Shell by bryanrasmussen on Tuesday March 17, 2020 @05:01PM (#22610384)
Ok, but I believe that your use of the word parseable diverges quite a bit from common usage.