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

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



On Tue, Aug 21, 2007 at 09:55:46AM -0700, David Brodbeck wrote:
>
> 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. ;)

This can be changed ;)

ls -l /bin/sh

lrwxrwxrwx 1 root root 9 2007-03-23 02:30 /bin/sh -> /bin/dash

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: