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 to do
this via just ant (rather than shell + ant) ?

Thanks,
Parag Doke
Save paper, save trees. Do not print emails/documents unless absolutely
necessary.


On Fri, Nov 4, 2011 at 1:01 PM, prbharsakle <prbharsa...@gmail.com> 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.
>
> Can someone please suggest me how can I ignore removal of the file ?
>
> Thanks for the co-operation,
>
> Pravin Bharsakle
>
>
>
> --
> View this message in context:
> http://ant.1045680.n5.nabble.com/Ant-fixcrlf-tp4963233p4963233.html
> Sent from the Ant - Users mailing list archive at Nabble.com.

Reply via email to