dash
Thilo Six
T.Six at gmx.de
Thu Sep 14 23:09:39 BST 2006
Rocco Stanzione wrote the following on 14.09.2006 23:18:
<snip>
> So, my opinion is that dash-as-sh is not worth the real and potential problems
> it causes. I've only ever thought bash was slow-ish as a login shell, and
> that was due to bash-completion and my somewhat heavy .bashrc, and these
> aren't issues when running shell scripts. Picking a few scripts basically at
> random and timing them with bash vs. dash, the biggest difference I've seen
> is 2ms, and those differences disappear altogether if I time them from within
> dash.
That´s quite incorrect from my experience.
I have set /bin/sh to dash in dapper (which is not official supported i
know)
...and it makes a _real_ difference.
- when it comes to boot sequence
- and in running system my cpu load went doen from normal ~3-4% with
bash to <1% with dash.
updatedb runs faster, my backup script is faster.
So personally _I_ see a lot reasons why it is worth.
bash is good for interactive shells, apart from that i prefer dash
> Thanks,
>
> Rocco
bye Thilo
--
i am on Ubuntu 2.6 KDE
- some friend of mine
gpg key: Ox4A411E09
More information about the ubuntu-devel
mailing list