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:lesamourai...@gmail.com] 
Sent: Monday, October 03, 2011 5:19 PM
To: user@ant.apache.org
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: user-unsubscr...@ant.apache.org For additional
commands, e-mail: user-h...@ant.apache.org



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

Reply via email to