Re: Ant fixcrlf

2011-11-04 Thread Stefan Bodewig
On 2011-11-04, prbharsakle wrote: > There are two letters "^" and "M". Crlf is treating it as a ^M and removing > it but I want it there. Then something else must be doing that. The fixcrlf will not touch the letters ^ or M, not even if they happen to be next to each other. It will only ever de

Re: Ant fixcrlf

2011-11-04 Thread prbharsakle
There are two letters "^" and "M". Crlf is treating it as a ^M and removing it but I want it there. Thanks, Pravin Bharsakle -- View this message in context: http://ant.1045680.n5.nabble.com/Ant-fixcrlf-tp4963233p4963718.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Re: Ant fixcrlf

2011-11-04 Thread Stefan Bodewig
On 2011-11-04, prbharsakle wrote: > Hi All, > I have defined some logic in my a.csh file. > e.g. : foreach sqlfile (`cat $sql_File | awk '{print $2}' | sed -e > 's/\\/\//g' | tr -d ^M `) > After that I am copying this file to some other location, before that I am > running fixcrlf on this a.csh

Re: Ant fixcrlf

2011-11-04 Thread Parag Doke
Hi Pravin :-). [For others who find the smiley amusing, I know Pravin in person.] If I understand correctly, your intent is to substitute all occurrences of backslash with a forward slash in a set of sql files. Is that right ? And you also use ant to remove the ^M characters. Wouldn't it be okay t