>The real question is, where does the input file belong in the sed syntax? >Sed will take input either from stdin or a file. So just specify the file >after the pattern: > <exec executable="sed" output="newfile"> > <arg value="-e"/> > <arg value="s/bad/good/"/> > <arg value="oldfile"/> > </exec > >However, you may find it easier to use Ant's <replace> task. For >instance: > <copy file="oldfile" tofile="newfile"/> > <replace file="newfile" token="bad" value="good"/> > >-Bill Burton Thanks! Both ways worked. Steve Dews _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
- unix redirection - how do you specify input files? Steve Dews
- Re: unix redirection - how do you specify input files? Stefan Schmitt
- Re: unix redirection - how do you specify input files? Bill Burton
- Re: unix redirection - how do you specify input fi... David Corbin
- Re: unix redirection - how do you specify inpu... James Bucanek
- Re: unix redirection - how do you specify inpu... Bill Burton
- Re: unix redirection - how do you specify input files? Steve Dews
- Re: unix redirection - how do you specify input files? glennm
- Re: unix redirection - how do you specify input files? Steve Dews
- Re: unix redirection - how do you specify input files? Shane_Curcuru
- RE: unix redirection - how do you specify input files? Dana Rice
- RE: unix redirection - how do you specify input files? Shane_Curcuru
