[GRASS5] bash in scripts

Justin Hickey jhickey at hpcc.nectec.or.th
Mon May 21 05:12:06 EDT 2001


Hi 

Andreas Lange wrote:
> If no, please change to sh, else construct something
> that will not reference an absolute path (e. g. on my Solaris
> installation bash is in /usr/local/bin/bash, sometimes it is in
> /opt/sfw/bin/bash or similar).

Please do not use bash at all. It is not installed by default on SGI
machines. All shell scripts should use sh since it is the only shell
guaranteed to be platform independent. At least I have never seen a UNIX
system that did not provide sh.

Just my 2 cents worth.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================



More information about the grass-dev mailing list