ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagarajan Murugesan <>
Subject Problem with the replaceregexp task!!!
Date Thu, 11 Dec 2003 13:23:07 GMT

Hi All,

I have the problem with using <replaceregexp> task.

I have written a task to replace a new line character
in a text file. once it get exceuted, i opened in a 
notepad(by default), it contains small rectangle kind
of character before the replacement string.

How could i remove this junk character from the file.
please help me on this.

Here is my code:

<replaceregexp file="C:/runant.txt" match="\n" replace=","  flags="g" />

Nagarajan M

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message