--- Cyriaque Dupoirieux <[EMAIL PROTECTED]> wrote: > I need to delete all lines that start with the following comment : > # written : Date of the day > > How can I use the replace task (or another) to make this ?
I assume "Date of the day" isn't a literal but rather would be some date, so you're asking whether there's a regular-expression type replace task? There is, but it's new so it's only available with 1.5 -- see: http://cvs.apache.org/viewcvs/jakarta-ant/docs/manual/OptionalTasks/replaceregexp.html If you need to stay with a released version of Ant, then you'd probably need to either go with a <script> or <exec> task. Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
