***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***




It might have a mixture of bash and csh syntax (I haven't really had time to look). To set environment variables in bash, you should replace constructs like

setenv FOO bar

with

export FOO=bar

and things like

alias foo bar

with

alias foo=bar


There is a great bash scripting resource here:
http://www.tldp.org/LDP/abs/html/

and I've colated some other unix links here:
http://chemistry.ucsc.edu/%7Ewgscott/xtal/unix.html

HTH,

bill



On Thu, 20 Apr 2006, Patrick G. Shaw wrote:

***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


I changed it and ran it in csh and now I get
: Command not found.
: Command not found.
/usr/local/xtal/ccp4-6.0/bin: Permission denied.
: Command not found.
: Command not found.
TITLE: Command not found.
: Command not found.
Too many )'s.

and I know that I have permission in the /usr/local/xtal/ccp4-6.0/bin directory
so I'm not sure what is up  with that.

thanks

Quoting Jim Pflugrath <[EMAIL PROTECTED]>:


setenv is a c-shell command and not a bash shell command.
change the first line from
#!/bin/bash
  to
   #!/bin/csh

and see what happens.

Jim

On Thu, 20 Apr 2006, Patrick G. Shaw wrote:






Reply via email to