Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74652 invoked from network); 24 Jun 2008 20:26:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 20:26:39 -0000 Received: (qmail 35397 invoked by uid 500); 24 Jun 2008 20:26:37 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 35368 invoked by uid 500); 24 Jun 2008 20:26:37 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 35357 invoked by uid 99); 24 Jun 2008 20:26:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 13:26:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.238.192.181] (HELO mailhost.silverlink.com) (66.238.192.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 20:25:46 +0000 Received: from ex01silver.silverlink.com (ex01silver.silverlink.com [192.168.10.23]) by mailhost.silverlink.com (Postfix) with ESMTP id D6AD611488 for ; Tue, 24 Jun 2008 16:26:04 -0400 (EDT) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How do I escape the " in the replace command? Date: Tue, 24 Jun 2008 16:26:33 -0400 Message-ID: In-Reply-To: <486155C2.9090506@schillbaer.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do I escape the " in the replace command? Thread-Index: AcjWNzazJcmCoDxzQkeG92nHG5V4DwAAOZ7g References: <1214333829.89567.ezmlm@ant.apache.org> <142DE51CECD0724695240E7662581EB0826FF3@us-dnv-mail01.comverse.com> <48614FE9.7010708@schillbaer.de> <142DE51CECD0724695240E7662581EB0826FF5@us-dnv-mail01.comverse.com> <486155C2.9090506@schillbaer.de> From: "Rick Genter" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org > From: Gilbert Rebhan [mailto:ant@schillbaer.de]=20 > Sent: Tuesday, June 24, 2008 1:15 PM > To: Ant Users List > Subject: Re: How do I escape the " in the replace command? >=20 > Simon Jeffrey schrieb: > > I am trying to execute the command below as part of our weblogic > > install. > >=20 > > Yes the string is part of a file. > >=20 > > I have tried using "e;, \", and \Q \E, but none of=20 > these options has > > worked. > >=20 > > I was not aware of the regexp option. >=20 > untested, try with =3D >=20 > token=3D'JAVA_OPTIONS=3D"${JAVA_OPTIONS}"' > value=3D'JAVA_OPTIONS=3D"${JAVA_OPTIONS}" > -Dweblogic.ProductionModeEnabled=3D${WEBLOGIC_PRODUCTION_MODE}'/> >=20 > if that doesn't work, i would go with regexp The HTML entity for " is ", not "e; (http://www.w3.org/TR/html401/sgml/entities.html#h-24.4.1). Did the OP have a typo in his e-mail, or did he try the wrong entity? -- Rick Genter Principal Software Engineer Silverlink Communications --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org