On Nov 18, 2018, at 20:52, Mark Brethen wrote:

> I tried to chain reinplace a file? i.e.
> 
> reinplace "s|@@PREFIX@@|${prefix}|g" \
>        "s|@@CFLAGS@@|${configure.cflags} ${PICFLAG}|g" \
>        "s|@@CC@@|${configure.cc}|g” ${worksrcpath}_SHARED/Make.inc
> 
> but this failed. Is there another way besides breaking them up into separate 
> reinplace statements?

Nope, reinplace supports running a single regular expression over multiple 
files, but not multiple regular expressions.

  • reinplace Mark Brethen
    • Re: reinplace Ryan Schmidt

Reply via email to