[plug] comparing files

Mike Holland myk at plug.linux.org.au
Wed Sep 4 15:09:29 WST 2002


On Wed, 4 Sep 2002, Brian Tombleson wrote:

> try:
>   diff sendmail.cf sendmail.cf.rpmnew

Sometimes I want to filter out changes to comments.
What is wrong with the following:

% diff -I '^#.*'  <old> <new>

I'm trying to ignore all lines beginning with '#'. Bad regex?

-- 
        The origin of Truth is Doubt - Socrates




More information about the plug mailing list