Re: Regular expression for deleting new lines with Ant

2009-11-24 Thread christoforever
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

Re: Regular expression for deleting new lines with Ant

2009-11-24 Thread Kevin Jackson
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 command

RE: Regular expression for deleting new lines with Ant

2009-11-19 Thread Moore, Kent
Will "fixcrlf" help with at least some of what you are trying to accomplish? http://ant.apache.org/manual/CoreTasks/fixcrlf.html -Original Message- From: christoforever [mailto:christofore...@gmail.com] Sent: Thursday, November 19, 2009 1:20 PM To: user@ant.apache.org Subject: Regular e

Re: Regular expression for deleting new lines with Ant

2009-11-19 Thread Scot P. Floess
If I remember correctly, someone had a similar question... To get around the issue they used one of the Java built in properties like ${line.separator} instead of \n for example... On Thu, 19 Nov 2009, christoforever wrote: I'm trying to remove all the new lines and/or lines full of tabs