06.12.2008 в 16:21 — Дмитрий
Какие бывают shell-интерпретаторы, совместимые с sh? Кроме bash, естественно. Есть ли какие-то исследования по сравнению их производительности? Также в Debian есть разные версии bash (minimal, static). У какой производительность выше?
Комментарии
dash
csh, ksh, zsh, tcsh ну и ещё есть, ессно
static и minimal по производительности не буду отличаться. static просто не зависит от внешних библиотек.
По поводу производительности пост выше - правильный
говорим apt-cache show dash и видим:
The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell derived from ash.
.
It can be usefully installed as /bin/sh (because it executes scripts faster than bash), or as the default shell for the superuser. It depends on fewer libraries than bash, and is therefore less likely to be affected by an upgrade problem or a disk failure. It is also useful for checking the POSIX compliance of scripts. Homepage:
А ещё есть такая вещь sash:
sash is not intended to serve as /bin/sh, and has few of the interactive features present in bash or ksh. It's designed to be simple and robust, for people who need to do emergency repair work on a system.
Большое спасибо. :) Пересел на dash.
python =)
Евгений Ваганович...