ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Dews" <steve99999...@hotmail.com>
Subject unix redirection - how do you specify input files?
Date Thu, 21 Dec 2000 17:15:03 GMT
Hello,

    Here's what I'm trying to do:

           $ sed -e 's/bad/good/' < oldfile > newfile

    Here's what I've got in Ant:

           <exec executable="sed" output="./newfile">
             <arg>-e</arg>
             <arg>'s/bad/good/'</arg>
           </exec>

    Where does the input file belong in the Ant syntax?
    As an <arg>?  That doesn't seem to work.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Mime
View raw message