X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: bstark AT protechpts DOT com (Bob Stark) Newsgroups: comp.os.msdos.djgpp Subject: Re: How do you pass double quotes to a program via gnu make? Date: 1 May 2002 03:52:50 -0700 Organization: http://groups.google.com/ Lines: 19 Message-ID: References: NNTP-Posting-Host: 151.201.19.11 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1020250370 4494 127.0.0.1 (1 May 2002 10:52:50 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 1 May 2002 10:52:50 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote in message news:... > On 30 Apr 2002, Bob Stark wrote: > > > I am setting up gnu make to publish some files on Windows NT. One of > > the commands that I run needs to be passed a parameter in the form: > > -printer="Acrobat Distiller" > > > > quotes are stripped off before they are passed to the executable. > > That's intended. Try > > -printer=\"Acrobat Distiller\" The problem with that approach is that the back slashes are NOT stripped off; the program receives exactly: -printer=\"Acrobat Distiller\" It cannot parse that syntax.