ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3700] - Need a SED task in ANT
Date Mon, 08 Oct 2001 21:22:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3700>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3700

Need a SED task in ANT





------- Additional Comments From jnsnyder@us.ibm.com  2001-10-08 14:22 -------
Need to be able to replace "bbb" with "ccc" in lines 
containing "aaa" as in the following: 
sed /"aaa"/s/"bbb"/"ccc"/ inpfile > outfile
Need to be able to feed a fileset to the task and have each file in the set 
edited.  Since sed uses redirected output, I have not been successful using
"exec" or "execon".

Mime
View raw message