[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash vs. python scripts - which one is better?

On Aug 20, 2007, at 9:46 PM, Vincent Lefevre wrote:
I suppose they have their own sh. Because bash is also under active
development (and has broken scripts several times in the past).

Yeah, FreeBSD ships its own, less featureful (but more compact!) version of sh, with bash available as a port. /bin/sh is used as the standard command interpreter.

gull@ringbill:~$ ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  105740 Jan 11  2007 /bin/sh*
gull@ringbill:~$ ls -l /usr/local/bin/bash
-rwxr-xr-x  2 root  wheel  448996 Apr 18 16:27 /usr/local/bin/bash*

Linux is the only *nix-ish OS I've used where /bin/sh and bash are synonymous. ;)

Reply to: