Produces a succinct comparison of two Linux kernel configuration files, showing added, removed and changed settings, in an indented layout reflecting the configurator menus. The resulting text file is coloured when the output is to a terminal; the colours can be retained when redirecting the output to a file or pipe.
Now comes with a program to extract configuration variable names and their prompts from their kernel build system, to create a symbol table. The comparison program can use this table to further annotate its output.
This program can also be used to create a commented "pretty-print" of a kernel configuration by comparing it with an empty one such as /dev/null.
Features
- Shows only changed, added and deleted settings
- Indents the output according to the Linux kernel configurator menus
- Coloured output when sent to a terminal. The colour can be optionally retained when piped or redirected to a file
- Optionally treat all module settings as builtin to reduce irrelevant differences
- By default hides "unset" items, but this can be overridden
- A POSIX shell script, using gawk, diff and mktemp
- Optionally comments settings with their prompts from the kernel menus
Categories
Diff ToolsLicense
GNU General Public License version 3.0 (GPLv3)Follow cfcfg
Other Useful Business Software
Save Up to 91% on Cloud Compute With Spot VMs
Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of cfcfg!