Gunnar Wolf: Configuration files for humans and for computers
Erich wonders about a sane way to reorganize the configuration file mess we have, going in fact farther than Aigars' previous rant on the topic: Not only it would be really desirable to do away with the dotfile-as-everything-but-more mess, it would be really, really nice to do it in a more or less standard way. Erich suggests four base configuration syntaxes - I won't reveal too much, as his message deserves being read as well ;-) But hey, I have a question here:
I know XML is well-established and well-supported, and I'm told there are a couple several hundred thousand people who think it is really cool and even human-editable. Still, I hate XML. Configuration files are often, yes, written by the programs themselves - But one of my most beloved features of Unix-like systems is that I am free to poke in them, as they are meant to be human-editable.
XML is not human-editable. I'm sorry, say whatever you want, but keeping XML valid and happy is... Just not for me. Why not pushing instead something prettier, and with almost the same feature set of XML, plus a much-enhanced readability/modifyability? Why not promoting my dear and beloved YAML? (Yes, the YAML project home page _is_ valid YAML)
Note: No, this only looks like a rant, but it is really a question. Honest!
I know XML is well-established and well-supported, and I'm told there are a couple several hundred thousand people who think it is really cool and even human-editable. Still, I hate XML. Configuration files are often, yes, written by the programs themselves - But one of my most beloved features of Unix-like systems is that I am free to poke in them, as they are meant to be human-editable.
XML is not human-editable. I'm sorry, say whatever you want, but keeping XML valid and happy is... Just not for me. Why not pushing instead something prettier, and with almost the same feature set of XML, plus a much-enhanced readability/modifyability? Why not promoting my dear and beloved YAML? (Yes, the YAML project home page _is_ valid YAML)
Note: No, this only looks like a rant, but it is really a question. Honest!