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 36D1710725 for ; Fri, 5 Dec 2014 18:47:26 +0000 (UTC) Received: (qmail 22713 invoked by uid 500); 5 Dec 2014 18:47:25 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 22659 invoked by uid 500); 5 Dec 2014 18:47:25 -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 22630 invoked by uid 99); 5 Dec 2014 18:47:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 18:47:24 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elstonkers@yahoo.com designates 98.136.216.246 as permitted sender) Received: from [98.136.216.246] (HELO nm33-vm7.bullet.mail.gq1.yahoo.com) (98.136.216.246) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 18:46:56 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=qfGeYoJ3HaT672K7EMeM2qDlqf2HxlCeIEI3kJ4YNbbIw4j/IdjhMYTjvi0KWG26P32Lz/9mL8Dj0gHn50XADn3hvt3dOcy0UGg1oun79mShGYiBEb+ibQ+iJERpVw517NHX9eKe2I26DtXfrTyMGzib5dIkbNwm6d4Q3RXgnZvyyFSjAjP+ousSpwucE2LC+k5w7Uv50yhDMM7YoIIBsR9qKux3MvpNgKMSgI/5qbqJ6J3psI3QZdALW6i2pqR2FByqye2TnPcXolqvN4wq38vsr6Bv3asMtIraG0MvUTzsOoi9ejasthPlDwsCd48MULENYp02++L/b5cj5GzJVA==; Received: from [127.0.0.1] by nm33.bullet.mail.gq1.yahoo.com with NNFMP; 05 Dec 2014 18:43:45 -0000 Received: from [98.137.12.174] by nm33.bullet.mail.gq1.yahoo.com with NNFMP; 05 Dec 2014 18:41:04 -0000 Received: from [98.137.12.233] by tm13.bullet.mail.gq1.yahoo.com with NNFMP; 05 Dec 2014 18:41:04 -0000 Received: from [127.0.0.1] by omp1041.mail.gq1.yahoo.com with NNFMP; 05 Dec 2014 18:41:04 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 151759.36750.bm@omp1041.mail.gq1.yahoo.com X-YMail-OSG: u_V2nWwVM1nZxDMw1ArqPYV4s4BRGRLrP2o_DpAMC6tyeF1W29DCtB8pzb.Yz3M FEu_MqIA0OV.cPZRx1yx4e6kasjz3dolH3VQU4XoU_gAf.bX8s9Q5AH43Ujjmc6Z7WBhKcvFy_c7 8ZbmSqtm8RoZNix22k4zxqL61f4PoY.DQjXcJ.LNZp1rSPMETLafFhXrFiidj3cQ_oZTUpsVpngE xyhqGcbB1Pb2HUeffPFw6TKIUzG5eK36soqLcr6EEs0995hlFxvg449uObb_MNkU_aL9kfd5ghiB RsJntCEjBoWdQALJiGUQmp7B2eM.ORyCiWAanh9tBOIT8t2qvW5IsDezgSGu75P.Wdaj9QJBRBnF MZ2hZc1YRAEM8eAwn5wbboWuPzBXkU487m.JzFuC4EwCCqpx4FTG0lUHCPCq5wkFIz8SzfxomfOI ho50OlZ6WrmRv2nulW6TxlfnSyfgozHLLoMvRPMtTMBZaIXFi_oxPJGZeCnSPKCQJisY1e_Sj5S2 H7coyGo2k Received: by 216.39.60.200; Fri, 05 Dec 2014 18:41:03 +0000 Date: Fri, 5 Dec 2014 18:41:03 +0000 (UTC) From: Eric Fetzer Reply-To: Eric Fetzer To: Ant Users List , Eric Fetzer Message-ID: <905976039.1332254.1417804863445.JavaMail.yahoo@jws10730.mail.gq1.yahoo.com> In-Reply-To: <571073501.1336424.1417803861609.JavaMail.yahoo@jws10733.mail.gq1.yahoo.com> References: <571073501.1336424.1417803861609.JavaMail.yahoo@jws10733.mail.gq1.yahoo.com> Subject: Re: kicking my butt with something very simple MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Note that I also tried: Which produced: sort: stat failed: >: No such file or directory I'm using ant 1.7.1. Thanks, Eric On Friday, December 5, 2014 11:24 AM, Eric Fetzer wrote: All, I've tried all I can figure out to try on a simple unix command in redhat. I can run the command line and it works fine, but ant can't run it to save its life: I've tried putting all the args together, putting some of the args together... If I run it like this, I get "sort: stat failed: >: No such file or directory. If I put the "existingFile > newFile" in the same arg, I get "sort: stat failed existingFile > newFile: No such file or directory. If I make the executable "bash" and use "sort" as the first argument, I get: [exec] /bin/sort: /bin/sort: cannot execute binary file. If I run it as bash and put all the arguments into a single arg value, I get: [exec] bash: sort -u existingFile > newFile: No such file or directory. This has got to be simple, please help! Thanks, Erc --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org