On 9 February 2011 11:19, Nick <suckless-...@njw.me.uk> wrote: > So, what's a good, simple format to store config files? > Obviously XML is pretty gross. So, what do people here tend > to do?
If your options are fairly simple (i.e., no nested structures etc), you could just make the config file valid shell: > key1=value1 > key2=value2 Trivial to parse in C, and you can pull the config into your script with: > . config cls