-nat
Ivan Ivanov wrote:
Hello,
I also encountered this problem. Here is a sample that does the job: <project> <copy file="a_file_with_crlf" tofile="a_file_without_crlf"> <filterchain> <tokenfilter> <ignoreblank/> </tokenfilter> </filterchain> </copy> </project>
a_file_with_crlf: this is a line
this is a sencond line
more crlfs
another line
yet another on
two more and file ends
After running the above ant snippet, a_file_without_crlf contains: this is a line this is a sencond line more crlfs another line yet another on two more and file ends
Regards Ivan --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote:
If you use OS pipes, you will appreciate filterchains.
-----Original Message-----
From: Nat Gross
[mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:41 PM
To: Ant Users List
Subject: Re: Cleaning a text file with tons of extra
CRLF's
filterchains? I will need to catch up on that topic.
Thanks for the tip.
-nat
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]