On 2006-07-20 16:22, Aaron Konstam wrote: > On Wed, 2006-07-19 at 16:21 -0700, Don Russell wrote: >> Today I updated sendmail via yum and received a warning that >> /etc/mail/sendmail.mc was created as /etc/mail/sendmail.mc.rpmnew. >> >> (A few other files had the same warning, but they are created from the >> .mc file so I'm not too concerned.) >> >> I gather this happens because I changed the sendmail.mc file so the >> update process doesn't want to wipe out my changes. >> >> Are there any tools to compare/apply the differences between the rpmnew >> version and my current version? Or, do I have to do something like run >> diff and then go through all the changes one by one manually? >> >> Thanks, >> Don >> >> > I think if you use diff with the -e option you get a script that can be > used with sed to change the files to automagically. No, diff -e produces a script for ed, not sed. See the manual. Better would be to use diff -c or diff -u and use patch to apply the differences. See "man diff" and "man patch". -- Sjoerd Mullender
Attachment:
signature.asc
Description: OpenPGP digital signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list