[plug] Bash syntax error bad substitution

Arie Hol arie99 at ozemail.com.au
Wed Dec 5 19:57:00 WST 2007



On 5 Dec 2007 at 19:26, David Dartnall 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?
> 
"dash" is a POSIX compliant shell that is much smaller than "bash"

For more info goto:

http://packages.debian.org/unstable/shells/dash


HTH




Regards Arie
------------------------------------------------------------------
 For the concert of life, nobody has a program.
------------------------------------------------------------------



More information about the plug mailing list