[Bio-Linux] zsh

Tony Travis a.travis at abdn.ac.uk
Thu Feb 19 08:58:40 EST 2009


Dan Swan wrote:
> Hello,
> 
>> Under Ubuntu 8.04 LTS "bash" adopts a (very) strict POSIX compatibility
>> mode when invoked as "sh". This has caused me some problems with (other
>> people's!) shell scripts that use "#!/bin/sh", but expect to run "bash".
> 
> This is due to Ubuntu replacing /bin/sh with /bin/dash - not bash.  A
> widely unpopular move from the forum posts it generated when it
> hapepend.

Hello, Dan.

I've learnt something today, because I didn't know about the /bin/bash 
vs. /bin/dash issue in Ubuntu. BTW, what I've learnt today is that I 
don't know everything about Ubuntu ;-)

Actually, I think it's a good thing that scripts using /bin/sh as their 
interpreter conform to POSIX. However, this breaks a few things...

Thanks,

	Tony.
-- 
Dr. A.J.Travis, University of Aberdeen, Rowett Institute of Nutrition
and Health, Greenburn Road, Bucksburn, Aberdeen AB21 9SB, Scotland, UK
tel +44(0)1224 712751, fax +44(0)1224 716687, http://www.rowett.ac.uk
mailto:a.travis at abdn.ac.uk, http://bioinformatics.rri.sari.ac.uk/~ajt




More information about the Bio-linux-list mailing list