News for hackers. Stuff that matters.
Re:Why you should learn just a little Awk - A Tutorial by Ex... by 4ad on Saturday August 27, 2011 @06:08PM (#2932678)
XML? I keep databases in user readable/writable format that I also parse with awk. The whole point of awk is to parse human readable text. No XML nonsense. Just text with a non-rigid structure.
Re:Why you should learn just a little Awk - A Tutorial by Ex... by viraptor on Saturday August 27, 2011 @08:22PM (#2932927)
That was my question - why do that?

If you need a database, you really shouldn't allow the text to be parsed as anything else than originally intended. With "just text with a non-rigid structure" it's just too easy to make a silly mistake. So what is the advantage here, given we have bdb and sqlite on almost every machine nowadays?

Or the other way - if you need something human-readable, why use is as a database? Why not keep the data where the data belongs and generate the reports when needed from there?