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

You Might Also Like
Bright Data - All in One Platform for Proxies and Web Scraping Icon
Bright Data - All in One Platform for Proxies and Web Scraping

Say goodbye to blocks, restrictions, and CAPTCHAs

Bright Data offers the highest quality proxies with automated session management, IP rotation, and advanced web unlocking technology. Enjoy reliable, fast performance with easy integration, a user-friendly dashboard, and enterprise-grade scaling. Powered by ethically-sourced residential IPs for seamless web scraping.
Get Started
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