[plug] comparing files

Anthony J. Breeds-Taurima tony at cantech.net.au
Wed Sep 4 14:32:16 WST 2002


On Wed, 4 Sep 2002, Jon  Miller wrote:

> I need to compare the contents of two files.  After an update of packages I now have filename.rpmnew as well as the original.  I need to know what the differences are.
> sendmail.cf vs sendmail.cf.rpmnew

diff -u sendmail.cf.rpmnew sendmail.cf

Lines prefixed with "-" Were in sendmail.cf.rpmnew and have been removed from
sendmail.cf
Lines prefixed with "+" Were not in sendmail.cf.rpmnew and have been added to 
sendmail.cf

eg:
--------
--- php.ini.rpmsave     Thu Dec 13 10:53:16 2001
+++ php.ini     	Fri Jul  5 16:24:35 2002
@@ -74,7 +74,7 @@
 asp_tags = Off
 
 ; The number of significant digits displayed in floating point numbers.
-precision    =  14
+precision    =  12
--------

Means that in my current php.ini I have changed precision from 14 to 12

BUT in your particular case sendmail.cf is generated from
/etc/mail/sendmail.mc so you should compare the mc files and then regenerate
the cf from the m4 source.

Yours Tony

   Jan 22-25 2003           Linux.Conf.AU            http://linux.conf.au/
		  The Australian Linux Technical Conference!



More information about the plug mailing list