Aw: Re: sed dollar sign substitution in Makefile

2018-11-07 Thread Oliver Mahmoudi
Thrift via freebsd-ports" Betreff: Re: sed dollar sign substitution in Makefile Hi, > On 6. Nov 2018, at 9:12 PM, Oliver Mahmoudi wrote: > > Therefore, in Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g' file_to_be_changed In make commands you need to escape $ as $$ to be able t

Re: sed dollar sign substitution in Makefile

2018-11-06 Thread Franco Fichtner
Hi, > On 6. Nov 2018, at 9:12 PM, Oliver Mahmoudi wrote: > > Therefore, in Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g' > file_to_be_changed In make commands you need to escape $ as $$ to be able to pass it to the shell. Cheers, Franco

sed dollar sign substitution in Makefile

2018-11-06 Thread Oliver Mahmoudi
Hello, I am currently working on a port, where I need to make the following sed substitution in Makefile: turn "print $1" into "print $4". Therefore, in Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g' file_to_be_changed However, when invoking the build with make, the shell never

sed dollar sign substitution in Makefile

2018-11-05 Thread Oliver Mahmoudi
___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

sed dollar sign substitution in Makefile

2018-11-04 Thread Oliver Mahmoudi
___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"