Rainer Müller wrote:
> Rainer Müller wrote:
> 
>> You have to quote the replace pattern, otherwise &|g is interpreted as a
>> filename.
>>
>>   reinplace "s|psppire|psppire &|g" ...
> 
> And please note that & does not do here what it usually does with sed.
> It will not be replaced with the matched pattern. But this just as a
> side-note.

Gnah, sorry, ignore and discard this reply above. I meant to write a
reply to my other mail.

reinplace uses standard sed as available on your system and & works here
as usual. So for a literal & you have to escape it.

Rainer
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to