>> The right tool for the job would obviously be some sort of file
>> comparison tool - which Perl isn't.
>
> Do you need to make the same change in each file? If so, Perl or sed, or
> awk are perfect tools for the job.
>
> I don't see where diff comes into play...
diff compares files and automatically figures out what changed.
patch automatically applies those changes to other files.
...which neatly describes the exact thing I'm trying to do.
Post a reply to this message
|