Date: Thu, 10 Feb 2005 03:45:58 +0100 From: Danny Pansters <danny@ricin.com> To: Paul Schmehl <pauls@utdallas.edu>, ports@freebsd.org Subject: Re: Small REINPLACE_CMD headache... Message-ID: <200502100345.58447.danny@ricin.com> In-Reply-To: <2147483647.1107981658@[192.168.2.100]> References: <200502100327.17768.danny@ricin.com> <2147483647.1107981658@[192.168.2.100]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 10 February 2005 03:40, Paul Schmehl wrote: > --On Thursday, February 10, 2005 3:27 AM +0100 Danny Pansters > > <danny@ricin.com> wrote: > > I get Syntax error: Unterminated quoted string > > > > I wanted to > > @${REINPLACE_CMD} -e \ > > "s,\"machine/soundcard.h\",<sys/soundcard.h>," file > > > > It seems to go wrong there, what's the proper way to escape quotes in a > > s/x/y/ like this? It's included in double quotes (and wrong), I want to > > change it to a <blah> include. > > Since you're using commas as the field limiters, wouldn't it be: > > @${REINPLACE_CMD} -e \ > "s,"machine/soundcard.h",<sys/soundcard.h>," file? That was what I initially had. Perhaps my Makefile has a problem before. Can I get feedback on that anywhere (other than w/ portlint)? Thanks, Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502100345.58447.danny>