Date: Wed, 7 Nov 2018 21:46:38 +0100 From: "Oliver Mahmoudi" <o.mahmoudi@gmx.de> To: "Franco Fichtner" <franco@lastsummer.de> Cc: freebsd-ports@freebsd.org Subject: Aw: Re: sed dollar sign substitution in Makefile Message-ID: <trinity-c4e4ee26-c876-4447-abfb-3a00bfc896cc-1541623598683@3c-app-gmx-bs50> In-Reply-To: <36D52952-24DA-4B12-9BF1-EE84D51B97F1@lastsummer.de> References: <trinity-9151880c-a747-4215-9c88-f18a94c7a97e-1541535141073@3c-app-gmx-bs51> <36D52952-24DA-4B12-9BF1-EE84D51B97F1@lastsummer.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey Franco, Yeah, that really cuts it=2E I knew, it wouldn't be anything all too diffi= cult, just couldn't find the right substitution=2E=2E=2E Thanks! Oliver Gesendet:=C2=A0Mittwoch, 07=2E November 2018 um 04:22 Uhr Von:=C2=A0"Franco Fichtner" <franco@lastsummer=2Ede> An:=C2=A0"Oliver Mahmoudi" <o=2Emahmoudi@gmx=2Ede> Cc:=C2=A0"Douglas Thrift via freebsd-ports" <freebsd-ports@freebsd=2Eorg> Betreff:=C2=A0Re: sed dollar sign substitution in Makefile Hi, > On 6=2E 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_chan= ged In make commands you need to escape $ as $$ to be able to pass it to th= e shell=2E Cheers, Franco
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-c4e4ee26-c876-4447-abfb-3a00bfc896cc-1541623598683>