[109860] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
Ryan Schmidt
ryandesign at macports.org
Wed Aug 21 15:57:36 PDT 2013
On Aug 21, 2013, at 12:23, Jeremy Huddleston Sequoia wrote:
> On Aug 21, 2013, at 1:48, Ryan Schmidt wrote:
>
>> This could be more simply written as:
>>
>> reinplace -E {s:-arch +[^ ]+::g} ${tempfile1} ${tempfile2}
>
> Oh, so reinplace -E gives me egrep? Nice. I was saddened when {s:-arch +[^ ]+::} didn't work on my first attempt. =)
Yes, it isn't the default because sed on Panther and earlier didn't support it, and we had to maintain compatibility with all the existing reinplaces in portfiles, but MacPorts doesn't support Panther and earlier anymore so there's no reason not to use -E anymore if it'll help in a particular instance.
More information about the macports-dev
mailing list