Again, you have ignored that this discussion is not about shell (which I know, including its few flaws, and can easily deal with, but am in no way trying to describe as easy to learn given that there are so many broken scripts and tutorials out there. It's hard to just learn the quoting rules for once, and browse through "bash pitfalls" once, simply because people don't know where to look for good resources. And I have freely admitted it was hard for me as well. Nevertheless I seriously recommend learning it rigorously because it has tremendous practical benefits).
This discussion is about text representations. Why do you keep claiming that text formats are broken when you can't give a single example?
> BTW, do you have a particular gripe with S-expressions / LISP? You ranted twice about parens in your comment towards me.
I will rant again until people stop making stupid claims.
I actually like LISP as a programming language. There is just zero benefit from writing record- or even word-oriented data in a (random) free-form syntax that is meant for representing trees. If I wanted I could parse /etc/passwd format like this:
struct_passwd = namedtuple("passwd", "pw_name pw_passwd pw_uid pw_gid pw_gecos pw_dir pw_shell")
passwd = [struct_passwd(* line.rstrip('\n').split(':')) for line in open('/etc/passwd')]
That's it. It works. There, I even made a nice datatype for you. And there's already more integrity checking in these two lines compared to a json.parse() or similar.
It works so nicely that I'm even making a text format for such databases with strong schema support that can still quite easily be used with generic text tools (git, grep, sed, awk, diff...). http://jstimpfle.de/projects/wsl/main.html
> So forgive all of us working folk who don't keep Star Trek-like exact logs on every problem we ever bump into. /s
Never asked for that. Give a single reasonable example why text file practice is bad, to get any credibility. It can't be that hard.
> ... And that's a fact of the daily life of many devs. You can call that a vague FUD if you wish. <shrugs>
Well, it's a bit less vague now that you have actually described a little better. But there is no connection to text representations. Sorry, you replied to the wrong thread.