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 that is what you want. Regards, Elias