setconf
setconf copied to clipboard
:green_book: Change settings in configuration text files
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...
For example ``` setconf PKGBUILD pkgrel+=1 ``` bumps `pkgrel`, but if I want to display the newly modified value on the terminal, this has to be done with a second...
Some conf files (e.g. gitconfig) have sections: [section1] path=xyzzy [section2] path=xyzzy If this utility only changes all occurances of path to path=plugh it should be enhanced. It needs to take...
setconf -a -d config.h X11_GRAPHICS and setconf -d -a config.h X11_GRAPHICS should add #define X11_GRAPHICS to `config.h` Also: setconf -d -a config.h X11_GRAPHICS=1 should add #define X11_GRAPHICS=1 to `config.h`.
It is tradition for UNIX utilities to be able to specify one or more filenames as the last argument(s). By default, `setconf` does not support this, since `setconf key=value filename`...
Hi. is possible add the option for: - Remove keys - Comment out keys (`#esee = foo` -> `esee = foo`) - Comment in keys (`esee = foo` -> `#esee...