in the ant manual, look up details for filterschain
this should work for you
<deletecharacters chars="./"/>
<loadfile property="Anchor" srcfile="/etc/default/Loc_Env_Anchor"
failonerror="false">
<filterchain>
<deletecharacters chars="./"/>
<expandproperties />
<ignoreblank />
<striplinecomments />
<trim />
</filterchain>
</loadfile>
-----Original Message-----
From: LeSamourai [mailto:[email protected]]
Sent: Monday, October 03, 2011 5:19 PM
To: [email protected]
Subject: Re: How to remove ctrl-M characters in unix files
Got it, used the fixcrlf task. Now one more question, how do I escape "./"?
I want to remove actual "./" in files.
--
View this message in context:
http://ant.1045680.n5.nabble.com/How-to-remove-ctrl-M-characters-in-unix-fil
es-tp4865533p4866623.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional
commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]