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:[email protected]] Sent: Thursday, November 19, 2009 1:20 PM To: [email protected] Subject: Regular expression for deleting new lines with Ant I'm trying to remove all the new lines and/or lines full of tabs or white space from a file ... its not working however... I've used the following code. <replaceregexp file="${outputFile}" match="^[ \t\n]+$" replace="" byline="true"/> but I've got nothing. I originally posted on the coderanch forums (http://www.coderanch.com/t/471737/Ant-Maven-Other-Build-Tools/Regular-e xpression-deleting-new-lines) and have gotten no reply so I've come here for help... any ideas? -- View this message in context: http://old.nabble.com/Regular-expression-for-deleting-new-lines-with-Ant -tp26421426p26421426.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
