Re: [AMBER] Script error in Umbrella tutorial

From: Kshatresh Dutta Dubey <kshatresh.gmail.com>
Date: Sun, 3 Aug 2014 22:42:58 +0300

Hi,
 Thanks for your quick help, it works.
Thank you again

Kshatresh


On Sun, Aug 3, 2014 at 10:35 PM, Asaminew Haile <ashaethio.gmail.com> wrote:

>
> You can try the following
>
> for i in *.dat ;do
> echo $i
> cat $i >> all_dihedrals.dat
> done
>
>
>
> Ase
> On Aug 3, 2014, at 2:56 PM, Kshatresh Dutta Dubey <kshatresh.gmail.com>
> wrote:
>
> > Dear Users,
> >
> > Sorry for asking a question which may not be appropriate for amber
> > archive. I am following the amber advance tutorial 17 for umbrella
> > sampling. When I am using the script :
> > #!/bin/csh
> > foreach i ( *.dat )
> > echo $i
> > cat $i >> all_dihedrals.dat
> > end
> >
> > It is showing error as
> > script-all-dihed: line 2: syntax error near unexpected token `('
> > script-all-dihed: line 2: `foreach i ( *.dat )'
> >
> > Please help me to solve this issue, I have no much knowledge of shell
> > scripting.
> >
> > Thanks in advance.
> >
> > Regards
> > Kshatresh
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
With best regards
************************************************************************************************
Dr. Kshatresh Dutta Dubey
Post Doctoral Researcher,
c/o Prof Sason Shaik,
Hebrew University of Jerusalem, Israel
Jerusalem, Israel
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Aug 03 2014 - 13:00:03 PDT
Custom Search