patch instead of reinplace?

Brandon Allbery allbery.b at gmail.com
Sat Sep 27 09:06:11 PDT 2014


On Sat, Sep 27, 2014 at 11:59 AM, Kurt Hindenburg <kurt.hindenburg at gmail.com
> wrote:

> Hi,  I find reinplace easier and less work for new releases.  Are there
> reasons to use one over the other?


reinplace is appropriate for replacing self-contained "tokens" and such.
When the context of an edit is important, reinplace handles context very
poorly, while patch is designed to handle it and fail if the context can't
be rationalized (e.g. by detecting that something moved but is otherwise
the same).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140927/210ddad5/attachment.html>


More information about the macports-dev mailing list