That's exactly what I ended up using. I cross-posted this on stack overflow and someone gave me the idea their as well. I'm still curious about why replaceregexp is not noticing the "\n' character. One day when I have the time I will look into it a bit more.
foamdino wrote: > > Hi, > > I just had to strip blank lines from a file the other day, try this: > > http://ant.apache.org/manual/CoreTypes/filterchain.html#linetokenizer > > Kev > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > -- View this message in context: http://old.nabble.com/Regular-expression-for-deleting-new-lines-with-Ant-tp26421426p26496235.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