Comment 17 for bug 61463

Revision history for this message
David Roberts (david.roberts) wrote :

> "The fact is in the majority of cases [dash] fails miserably"
> This is what polite people call a falsehood, and what I call a lie.
Ok, fine, perhaps a slight overstatement.

I tried using dash, but it only took a few days before I started coming across broken scripts (which had previously worked before the upgrade to edgy), and it took me about an hour to figure out what was wrong. The "average" user has no hope of working this out easily.

It's easy to say that scripts should begin with #!/bin/bash, but the fact is many don't. The only advantage of dash I've read of is that it's faster. To be honest, I'd rather have scripts work rather than have them run slightly faster. If you really want a faster shell, then give dash as an option for that minority of users, but don't force it by default.

In most cases, bash is the standard, and that's the assumption most scripts are written around. I'm not going to start mailing developers saying "please add an extra two letters two your script because my distribution has an incompatible default shell." Perhaps it should be the scripts actually requiring dash to be adding the line #!/bin/dash.