How do I convert line feeds to from unix to windows or windows to unix?

<target name="convert_linefeeds">
<fixcrlf srcdir="${logdir}" includes="**/*.log"/>
</target>

1.)


This shows some example crlf
http://jira.codehaus.org/browse/MPDIST-9


2.)
Are these constants?
What would they be?

<patternset refid="fixcrlf.unix.patternset"/>
<patternset refid="fixcrlf.win.patternset"/>


3.)
The first one converts from linux to windows or converts to linux?



<!-- fix CR/LF for unix dist -->
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" eof="remove">
<patternset refid="fixcrlf.patternset"/>
<patternset refid="fixcrlf.unix.patternset"/>
</ant:fixcrlf>
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="crlf"
eof="remove">
<patternset refid="fixcrlf.win.patternset"/>
</ant:fixcrlf>

<!-- fix CR/LF for win dist -->
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" eof="remove">
<patternset refid="fixcrlf.unix.patternset"/>
</ant:fixcrlf>
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="crlf"
eof="remove">
<patternset refid="fixcrlf.patternset"/>
<patternset refid="fixcrlf.win.patternset"/>
</ant:fixcrlf>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to