StripLineBreak parameters in ANT

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-04-23T22:10:14Z Indexed on 2010/04/23 22:13 UTC
Read the original article Hit count: 354

Filed under:

I'm using ant 1.6.2... I want to supply parameters to StripLineBreaks (essentially, I want to remove any \r in the text, but not \n.

So, I have tried

Using the above strips out all letter "r" (for example, "jar" becomes "ja")

I have tried "\r", "\\r", and "\\r"

I cannot upgrade ant to a later version.

Help is appreciated.

© Stack Overflow or respective owner

Related posts about ant