On Sat, Jun 27, 2009 at 8:37 AM, James McKenzie<jjmckenzie51@xxxxxxxxxxxxx> wrote: > Gert van den Berg wrote: >> On Thu, Jun 25, 2009 at 00:18, Martin Gregorie<martin@xxxxxxxxxxxx> wrote: >> >>> Minor point: I think all unices have the Bourn Shell but not all have >>> ksh, csh or bash, so the #!/bin/sh line is probably a good idea. >>> >>> >> All SUS-complaint unixes have a /bin/sh. Which might be a Bourne shell >> (e.g. Solaris), POSIX shell (HP-UX), link to ash / dash / bash >> (Various Linux / BSD version).... It ussualy run Bourne-scripts, but >> might support various extensions which may not work in other shells. >> >> >> > Gert: > > It's sh for MacOSX Leopard. No, /bin/sh for OS X is bash: mac-mini:~ austin$ /bin/sh sh-3.2$ echo $SHELL /bin/bash -- -Austin