Re: diff and sed

2005-04-04 Thread Ashley Sanders
I want to diff two files to generate a third file that contains edits. This third file of edits I can then apply to the first file to convert it into the seconf file by running it through either sed or ed. You want diff for the first part, and patch for the second part. You shouldn't need patch. T

Re: diff and sed

2005-04-01 Thread Andy Lester
On Fri, Apr 01, 2005 at 10:54:20AM -0600, John E Guillory ([EMAIL PROTECTED]) wrote: > This isn't a perl question explicitly (but I am a librarian!). And it's sort of Perl-related because Larry Wall wrote patch years and years ago, before Perl was invented. -- Andy Lester => [EMAIL PROTECTED] =

Re: diff and sed

2005-04-01 Thread Andy Lester
On Fri, Apr 01, 2005 at 10:54:20AM -0600, John E Guillory ([EMAIL PROTECTED]) wrote: > This isn't a perl question explicitly (but I am a librarian!). > > I want to diff two files to generate a third file that contains edits. This > third file of edits I can then apply to the first file to convert

diff and sed

2005-04-01 Thread John E Guillory
This isn't a perl question explicitly (but I am a librarian!). I want to diff two files to generate a third file that contains edits. This third file of edits I can then apply to the first file to convert it into the seconf file by running it through either sed or ed. I see references to this