Re: Making init scripts use dash
pe, 2006-05-19 kello 09:35 +0200, Marco d'Itri kirjoitti:
> On May 19, David Weinehall <firstname.lastname@example.org> wrote:
> > > That would mean having 2 shells since some scripts need bash. What a
> > > waste on small systems.
> > Well, most of those scripts can be fixed quite easily, some require
> > a bit more work. I hereby promise to help fixing them to the extent
> > of my capability.
> Some may need bash for a reason. Making them more complex just to have
> them work with dash is not useful.
If a script really needs bash, then starting it with #!/bin/bash is
perfectly acceptable. I doubt there are very many such scripts.
The most difficult thing in programming is to be simple and