ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Remove blank lines
Date Thu, 19 Feb 2004 14:49:54 GMT
> From: Josep del Río [mailto:josep.rio@uworks.net]
> 
> It works for me... what OS are you using? I'm using Windows. Try to
> substitute "\r\n" for "\n", and "&#13;&#10;" for "&#13;".

> >I think that the following should do the trick:
> >
> >             <replaceregexp flags="g" byline="false">
> >                 <regexp pattern="\r\n[\s]*\r\n[\s]*\r\n"/>
> >                   <substitution expression="&#13;&#10;&#13;&#10;"/>
> >                   <fileset dir="${dist}">
> >                         <filename name="**/*.php"/>
> >                   </fileset>
> >             </replaceregexp>

Or use ${line.separator} maybe!? --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message