diff/ed question

From: Joe LaCascio (jlacasci@wheatonma.edu)
Date: Thu Aug 08 2002 - 13:50:41 EDT


If I have two files (C programs) but one has several changes. Some new
lines some deleted. Basically, we've modified a vendors code for our use,
and each time they change there's we have to apply thier changes to ours.

I want to automate a way of applying the mods to our version.

Can someone help me with the correct diff command to do this. I believe
it's something like diff -e old_file new_file > file.ed

Then run some type of ed command to make the changes?

Thanks,
Joe



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:48 EDT