ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woodchuck <woodchuc...@yahoo.com>
Subject <replaceregexp> to wipe out everything in a file
Date Thu, 17 Jun 2004 15:40:55 GMT
is there a way to wipe out an entire file?
i just want everything to be blank.

i used the following:

<replaceregexp byline="true">
  <regexp pattern="(.*)"/>
  <substitution expression=""/>

now i have a blank empty file, but there are still
many lines (carriage returns) in that file.

i want to eliminate *everything* so that the only
thing in the file is EOF character, no line returns,
no nothing at all.

does anyone know how to do this?

i tried setting byline=false but it didn't work


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message