[AMBER] Script error in Umbrella tutorial

From: Kshatresh Dutta Dubey <kshatresh.gmail.com>
Date: Sun, 3 Aug 2014 21:56:46 +0300

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
Received on Sun Aug 03 2014 - 12:00:03 PDT
Custom Search