# ./crudini --merge --format=ini example.ini <<EOF
# tail example.ini
aaa = bbb
Yes I agree. We should be case retentive here, but generally crudini and ini format is case insensitive. We might be able to handle in this case using optionxform as described at http://stackoverflow.com/q/1611799/4421
Make crudini case sensitive #7.
It is not so easy to make it case preserving yet case insensitive because the same ConfigParser is being used for the --merge as it is used for for the other operations, but so far it seems to me that that is the best way to achieve it.
Well --set is already case retentive. I.E. for new vars the case is as specified, and for existing vars the case as is currently in the file. Perhaps we should only use the case insensitive parser with --merge. We have an explicit parse_file("-") call in that case which could be augmented?
Yes. That's what I meant.
Resolved in commit 21bdc3b