I could maybe see patching dash to die with an error "This script
contains invalid syntax, try running it with /bin/bash instead of
/bin/sh" when it encounters one of various known bashisms like echo
-e.

On 2/17/07, nemti <[EMAIL PROTECTED]> wrote:
> No matter how many script devs you complain to, there is _always_ going
> to be a script that contains bashisms. If /bin/sh _absolutely_ has to
> point to dash, instead of refusing to run scripts with bashisms, why not
> do something constructive like scanning the script for bashisms, and
> then running it in bash? Or perhaps even patching dash to do something
> useful with bashisms when it comes across them, like issuing a warning,
> instead of just dying for reasons unknown to the user?
>
> --
> Script that are using bash could be broken with the new symlink
> https://launchpad.net/bugs/61463
>

-- 
Script that are using bash could be broken with the new symlink
https://launchpad.net/bugs/61463

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to