delorie.com/archives/browse.cgi | search |
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: | <e83e1008.0205010252.69aaecb7@posting.google.com> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1020430192638 DOT 9802B-100000 AT is> |
NNTP-Posting-Host: | 151.201.19.11 |
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 <eliz AT is DOT elta DOT co DOT il> wrote in message news:<Pine DOT SUN DOT 3 DOT 91 DOT 1020430192638 DOT 9802B-100000 AT is>... > 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |