David_Yoshio_Macias@cup.portal.com (09/09/88)
I'm wondering if there's any tool out there to take diff files created with a diff command of the form 'diff -c#' (where # is some number like 2 or 3) and make the changes to the appopriate file automatically. I realize that if 'diff -e' was used, ed would serve this purpose. But 'diff -e' wasn't used, so right now I'm just using Emacs with the upper window having the diff file and the lower one having the target file ... very tedious! Does anyone out there have a better solution? Thanks! Roy Bixler graduate student at San Jose State Math Department UUCP: ...!sun!portal!cup.portal.com!David_Yoshio_Macias ...!sun!sjsumcs!lab-8
jpr@dasys1.UUCP (Jean-Pierre Radley) (09/23/88)
In article <8906@cup.portal.com> David_Yoshio_Macias@cup.portal.com writes: >... if there's any tool out there to take diff files created with a diff >command of the form 'diff -c#'... and make the changes to the appopriate >file automatically. Yes, there is 'patch'. Search through the indices of comp.unix.sources. I believe it will work either on old-style diff input, or the contextual differences too -- Time is nature's way of Jean-Pierre Radley making sure that everything ..!cmcl2!phri!dasys1!jpr doesn't happen all at once. CIS: 76120,1341