Re: replace reinplace

2007-04-01 Thread Cédric Luthi
On 1 avr. 07, at 08:03, Ryan Schmidt wrote: Wouldn't most of the existing invocations of reinplace break if we change that now? I'd say no. Replacing sed -E by sed would break all those who actually use extended syntax but probably not the other way round. I don't think there are

Re: replace reinplace

2007-04-01 Thread Yves de Champlain
Le 07-04-01 à 03:02, Cédric Luthi a écrit : On 1 avr. 07, at 08:03, Ryan Schmidt wrote: Wouldn't most of the existing invocations of reinplace break if we change that now? I'd say no. Replacing sed -E by sed would break all those who actually use extended syntax but probably not the

Re: replace reinplace

2007-04-01 Thread Elias Pipping
On Apr 1, 2007, at 3:39 PM, Yves de Champlain wrote: On the other hand, maybe some grepper could translate that in 'basic mode' for me ? sed -E 's|\$\(DESTDIR\)[[:space:]]+\$\(|\$\(DESTDIR\)\$\(|g' sed 's|\$(DESTDIR)[[:space:]][[:space:]]*\$(|FOO|g' changes $(DESTDIR) $( to FOO if

Re: replace reinplace

2007-04-01 Thread Yves de Champlain
Le 07-04-01 à 10:05, Elias Pipping a écrit : On Apr 1, 2007, at 3:39 PM, Yves de Champlain wrote: On the other hand, maybe some grepper could translate that in 'basic mode' for me ? sed -E 's|\$\(DESTDIR\)[[:space:]]+\$\(|\$\(DESTDIR\)\$\(|g' sed

replace reinplace

2007-03-31 Thread Yves de Champlain
Hi Any reason reinplace does not call sed with -E (extended grep patterns) ? yves ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev

Re: replace reinplace

2007-03-31 Thread Ryan Schmidt
On Mar 31, 2007, at 22:53, Yves de Champlain wrote: Any reason reinplace does not call sed with -E (extended grep patterns) ? Wouldn't most of the existing invocations of reinplace break if we change that now? ___ macports-dev mailing list