reinplace question

Rainer Müller raimue at macports.org
Fri Mar 20 10:27:46 PDT 2009


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.

Rainer


More information about the macports-dev mailing list