[plug] Bash syntax error bad substitution

Tomasz Grzegurzko tomasz89 at gmail.com
Wed Dec 5 21:06:21 WST 2007

On Dec 5, 2007 7:26 PM, David Dartnall <darts at dialix.com.au> wrote:
> It appears that one of the last Gutsy upgrades changed /bin/sh' from
> pointing to bash to pointing to dash, thereby messing up a bash script
> that I've been working on which worked perfectly on Sunday and which
> today produced the above error message. A change from #!/bin/sh to
> #!/bin/bash at the start of the script fixed the problem but I've spent
> half the day trying to work out what the hell went wrong!
> What's dash anyway? What would possess them to change the 'standard'
> shell interpreter?
> Any comments?
> regards
> Dave Dartnall
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au

What they're doing is technically correct but if you're not happy with it:

# sudo dpkg-reconfigure -plow dash


More information about the plug mailing list