[Gllug] Bourne shell programming

Christian Smith csmith at thewrongchristian.org.uk
Mon Nov 20 13:23:48 UTC 2006


Mike Brodbelt uttered:

> Tethys wrote:
>
>> If you're using a traditional Bourne or Korn[2] shell
>
> Yep - it's in a shell script on a Solaris box, so it's a hoary old
> Bourne shell.


Make sure you're not using /bin/sh if you can avoid it. Solaris /bin/sh is 
riddled with bugs, to the point of being largely unusable for portable 
scripts.

Use /bin/ksh instead.

Christian


--
     /"\
     \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
      X                           - AGAINST MS ATTACHMENTS
     / \
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list