Discussion:
reinplace
Mark Brethen
2018-11-19 02:52:25 UTC
Permalink
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?


Mark Brethen
***@gmail.com
Ryan Schmidt
2018-11-22 10:09:27 UTC
Permalink
Post by Mark Brethen
I tried to chain reinplace a file? i.e.
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.
Loading...