Jeremy Lavergne wrote:
> If I want to append a space and ampersand at the end of a known line,  
> what's the way to write this in reinplace?
> 
> I tried (without success):
>      reinplace s|psppire|psppire &|g
>      reinplace s|psppire|psppire\ &|g
>      reinplace s|psppire|psppire\ \&|g
> 
> Any suggestions?

You have to quote the replace pattern, otherwise &|g is interpreted as a
filename.

  reinplace "s|psppire|psppire &|g" ...

Rainer
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to