D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Problem with Bash script on Ubuntu

 

On Thu, 20 Mar 2008 12:38:29 +0000
Simon Waters <simon@xxxxxxxxxxxxxx> wrote:

> Alan Pope wrote:
> >
> > (and it's not a bash script, it's a shell script. By default /bin/sh pints 
> > to _dash_ not _bash_ on Ubuntu).
> 
> Whose bright idea was that? I see the Ubuntu brainstorm has a proposal
> to change it back, sounds like a sensible idea. Talk about pointless
> forking in distros.....

Umm, Debian is also dropping bash as the default shell.

bash is just too slow, especially at boot time.

Scripts that need bash need to use #!/bin/bash

POSIX scripts can use #!/bin/sh

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp6n6ajSoOU7.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html