History of 2019-09-30 diff and ignoring lines

2019-09-30
20:33 UTC Revision 1 . . . . Marcin BorkowskiOne of the most well-known commandline tools is the classical diff program. On my system, it is (of course) the GNU diff, which is a part of the GNU diffutils package. Recently, I found out that GNU diff has an interesting option, -I (or --ignore-matching-lines). You can give it a regex and it will ignore added or deleted lines if they contain a match for this regex. This may be useful in many circumstances.