7

Keep patch in sync with changing source

view full story
linux-howto

http://unix.stackexchange.com – Is there any standard option to create 'patch' P that works on file F in such way that it will keep working correctly when file F changes into F'. So I will either have some mechanism that will change P into P' so that P'(F') produces the same change as P(F), or, preferably, I will have resilient P so that it can be used for both F & F'. Currently I am using the regular expression search and replace to create such patch, but I wonder is there any standard way to do such thing. (HowTos)