O
ogmios01
Is it possible for the ant task ReplaceRegExp to remove empty lines
from a file... I tried the following
<project name="ReplacementTest" default="test" basedir=".">
<target name="test">
<replaceregexp match="\n\n" replace="\n" flags="g" byline="false">
<fileset file="inp.txt"/>
</replaceregexp>
</target>
</project>
But it isn't working.
Regards,
Ogmios
from a file... I tried the following
<project name="ReplacementTest" default="test" basedir=".">
<target name="test">
<replaceregexp match="\n\n" replace="\n" flags="g" byline="false">
<fileset file="inp.txt"/>
</replaceregexp>
</target>
</project>
But it isn't working.
Regards,
Ogmios