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

Project Samples

Project Activity

See All Activity >

Categories

Diff Tools

License

GNU General Public License version 3.0 (GPLv3)

Follow cfcfg

cfcfg Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cfcfg!

Additional Project Details

Operating Systems

Linux

Intended Audience

Information Technology, System Administrators

User Interface

Console/Terminal

Programming Language

Unix Shell

Related Categories

Unix Shell Diff Tools

Registered

2023-05-07