X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Re: Want to let variable pass to cygstart. Date: Wed, 11 Mar 2009 09:05:13 -0000 Message-ID: <5E25AF06EFB9EA4A87C19BC98F5C875302C1B82C@core-email.int.ascribe.com> In-Reply-To: A References: <49B7401A DOT 3080309 AT gmail DOT com> A From: "Phil Betts" To: Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hongyi Zhao wrote: > On Wed, 11 Mar 2009 04:37:46 +0000, Dave Korn > wrote: Please don't quote raw email addresses. It only feeds the spammers. > > It's bash shell metacharacters. The '&' character terminates a > command and > >puts it into the background. The simplest way is to use single quotes > ' ' > >around the URL you want to cygstart. >=20 > Thanks a lot. Except that single quotes will also prevent variable substitution. If=20 you want to use metacharacters AND variables, you have to use the=20 backslash to escape the metacharacters. Alternatively, you could concatenate strings like this: 'stringA&stringB'$variable'stringC&stringD' Phil --=20 This email has been scanned by Ascribe PLC using Microsoft Antigen for Exch= ange. -- 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/