Dear Shulin,
The ?'s are correct in this script they act as wildcards that match exactly
1 character each. So
ls -l *.pdb.????
will match blah.pdb.1987 but not blah.pdb.198
Anyway, I have attached the correct version of the script. This works on my
Redhat AS4 linux box. What system are you using and what is the error you
see? There is nothing 'illegal' about having 4 ?'s in a row so I suspect
there is an issue with your operating system or shell. What OS and shell are
you using?
Also, make sure you have set the script to be executable:
chmod +x fix_numbering_pdb.csh
And that you use the ./ infront of it to execute it.
If it still doesn't work can you send me some more details, I.e. what system
you are using etc and exactly what the error message is and I can try to
help further.
All the best
Ross
/\
\/
|\oss Walker
| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
|
http://www.rosswalker.co.uk <
http://www.rosswalker.co.uk/> | PGP Key
available on request |
Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.
_____
From: Shulin Zhuang [mailto:shulin.zhuang.gmail.com]
Sent: Tuesday, April 18, 2006 01:47
To: rcw.scripps.edu
Cc: ross.rosswalker.co.uk
Subject: about the fix_numbering_pdb.csh in Amber Tutorial_eight
Dear Prof. Ross Walker,
These two days, I am doing the MMTB cluster excese about section 6 of your
amber tutorial"All Atom Structure Prediction and Folding Simulations of a
Stable Protein". However, I can not execute the script file
fix_numbering_pdb.csh . In this file, there are too many signs of "?", suche
as set numfil = `ls -1 *.pdb.???? | wc -l` I guess, the place occupied by
thes "?" in this flie may be any signals which are not correctly displayed
in the web. Is this right? Woul you like to give me the correct
fix_numbering_pdb.csh ? Great thanks. Take you time.
Best regard
shulin
--
Shulin Zhuang
Chemistry Department
Zhejiang University PRC
shulin.zhuang.gmail.com
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Apr 19 2006 - 06:07:06 PDT