Open sscargal opened 2 years ago
Tools such as diffconfig that are used to compare Kernel .config files do a nice job of showing which option(s) have been added, removed, or their values changed from old to new.
Other approaches would be to sort the files, then compare. Examples:
meld <(sort file-a) <(sort file-b)
comm -3 <(<old.config grep '^[^#]' | sort) <(<new.config grep '^[^#]' | sort)
kdiff3 file-a file-b
Given two collected datasets, report differences between them. This will show what changed. The result would be best digested in a HTML file that allows easy navigation to highlight:
Use
git diff
as an example. Implement using the (-D) option or newpmemchk diff datasetA datasetB
command