setconf
setconf copied to clipboard
uncommenting
If uncommenting and setting a key/value, don't uncomment other mentions of that key.
This config:
#X=opt1
#X=opt2
#X=opt3
And this command:
setconf -u filename X=opt2
Should result in:
#X=opt1
X=opt2
#X=opt3
Not:
X=opt2
X=opt2
X=opt2
Allthough this will also often work out.