Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FC731051D for ; Wed, 6 Nov 2013 01:23:39 +0000 (UTC) Received: (qmail 17032 invoked by uid 500); 6 Nov 2013 01:23:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16996 invoked by uid 500); 6 Nov 2013 01:23:38 -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 16988 invoked by uid 99); 6 Nov 2013 01:23:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 01:23:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of earlhood@gmail.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 01:23:32 +0000 Received: by mail-wg0-f53.google.com with SMTP id y10so4356454wgg.32 for ; Tue, 05 Nov 2013 17:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=MIcQnxVZsj29DjzRHdbmbNXhFQ9tKOEHC20238EAtmw=; b=xXOpnOJ49O91e9GPeYWMX5nZqTObjLhwQCfF3OTcFlwdzuFjlKnCyIAA9pbz4t7GnB HZahVx4e7zRepU3PbISb4vhX27akK5ecRdPg3bjmuEl0JKg5YMixfx8sytpf0l2S0wRy 16eI8j03h0ff93Cw8VjbjAPypQuwO+rRgiWZJOpxXSl+/43OFizMwwTLjo2cL4nFgSKt 0QB4SfbE0fUh9lFNIAMgO/PZBL7F/VoBfw3Vt4kcGTccAjzwLtdVz2iJHe+ujkJGdZxs welP1wxK7MiAmr2w/bsXcMQf6SDkZ3ugMXTyxqq3L3CLpPlAlgINlaxjAKTyhONA90lv Pp5g== MIME-Version: 1.0 X-Received: by 10.194.109.68 with SMTP id hq4mr419325wjb.12.1383700991558; Tue, 05 Nov 2013 17:23:11 -0800 (PST) Sender: earlhood@gmail.com Received: by 10.216.148.131 with HTTP; Tue, 5 Nov 2013 17:23:11 -0800 (PST) In-Reply-To: References: <1383699171.72587.ezmlm@ant.apache.org> Date: Tue, 5 Nov 2013 19:23:11 -0600 X-Google-Sender-Auth: EOYFIZ1T2UJMHakpAuukUxoGqM0 Message-ID: Subject: Re: Issues With Quotes From: Earl Hood To: Ant Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 11/5/13, Dave Westerman wrote: > I'm passing in an attribute that contains a value to search for in a file > in Windows. I'm doing this: > > resultproperty="retcode" > outputproperty="output"> > > I normally avoid using since some additional parsing is done by Ant (or the sub-shell), and it may mess things up. Break up the arguments like the following to see if things work: Note, not sure if the double-quotes are still required around @{value} or not, you will have to test things out. Windows batch (cmd.exe) syntax is ugly, especially when dealing with quotes. --ewh --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org