On Fri, 30 Jun 2006, Arneh Babakhani wrote: > Hello GMX users, > > (this may be more of a tcsh question, but here goes anyway). > > I'm trying to write a script to go through some trajectories and > calculate hbonding. It looks like this: > > #!/bin/tcsh > foreach number (1 2 3 4 5 6 7 8 9 10 11) > g_hbond -f ../../FullMD/FullMD$number.trr -s > ../../FullMD/FullMD$number.tpr -num hbnum-all-$number <<+ > 1 > 12 > + > end
You are probably having an extra space in front of the latter + sign. Now + and end are considered as input for g_hbond. Olli PS. For general shell script questions a newsgroup like comp.unix.shell is a good place to keep in mind. _______________________________________________ gmx-users mailing list gmx-users@gromacs.org http://www.gromacs.org/mailman/listinfo/gmx-users Please don't post (un)subscribe requests to the list. Use the www interface or send it to [EMAIL PROTECTED] Can't post? Read http://www.gromacs.org/mailing_lists/users.php