delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/11/06:13:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5E25AF06EFB9EA4A87C19BC98F5C875302C1B82C@core-email.int.ascribe.com>
References: <nkber4delvo8ob4tm437av4k6fnblgbggr AT 4ax DOT com> <49B7401A DOT 3080309 AT gmail DOT com> <ttser4ddkpuvfqbvv4bpq43pbtebc2f7h8 AT 4ax DOT com> <5E25AF06EFB9EA4A87C19BC98F5C875302C1B82C AT core-email DOT int DOT ascribe DOT com>
Date: Wed, 11 Mar 2009 07:12:40 -0400
Message-ID: <f60fe000903110412h2c862c26n5fe3328085be9328@mail.gmail.com>
Subject: Re: Re: Want to let variable pass to cygstart.
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Mar 11, 2009 at 5:05 AM, Phil Betts wrote:
> Except that single quotes will also prevent variable substitution. =C2=A0=
If
> you want to use metacharacters AND variables, you have to use the
> backslash to escape the metacharacters.

...or just use double quotes instead, which allow variable
substitution and also the non-variable-substitution metacharacters
like &.

cygstart "http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=3D$MyWiley=
ID&PLACEBO=3DIE.pdf&mode=3Dpdf"


--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019