Re: Making init scripts use dash
Sorry for the late message to this thread.
* Gabor Gombas wrote:
> On Sat, May 20, 2006 at 01:58:14AM +0200, Adam Borowski wrote:
> > Thus, it's bash's start-up which is the slow part, in the terms of
> > actual speed, bash is not that far behind.
>
> It would be interesting to compare something more complex than
> "configure" scripts. "configure" scripts are huge but primitive.
FWIW, libtool scripts are a bit more complex. Unrelated though,
Libtool records the shell and its features; if you change /bin/sh
from bash to dash, the installed /usr/bin/libtool will have its
$echo setting wrong, and break occasionally. dash will be a slight
disadvantage for libtool scripts because it will call an external
echo; but not much.
OTOH in some cases, new bash can really help[1].
Cheers,
Ralf
[1] http://lists.gnu.org/archive/html/libtool-patches/2006-05/msg00016.html
Reply to: