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 file, it does removing the ^M characters from > end of the line but it is also removing the ^M characters which I have > defined in my foreach statement. You mean there is a literal carriage return in your foreach loop and not the two letters ^ and M? tr should accept \r (the two letters \ and r). Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org