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
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
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