On Wed, Oct 08, 2003 at 10:34:40PM +0400, Dmitry Vukolov wrote: > Где можно почитать про стандартный shell и понимаемые им конструкции? > Достаточно ли тестирования на работоспособность с ash для определения, > что скрипт использует только стандартные возможности? Вообще, со "стандартным шеллом" есть некоторый конфуз. De facto стандартным шеллом считается чистый Bourne Shell, вещь вполоне себе хорошо определенная. Но стандарт POSIX определяет другой shell. Вот что об этом написано в /usr/share/doc/zsh-*/Zsh_Guide/zshguide01.html: ... Some Linux systems also have another simpler Bourne shell clone, ash; as it's simpler, it's more like the original Bourne shell. Some more modern operating systems talk about `the POSIX shell'. This is an attempt to standardize UNIX shells; it's most like the Korn shell, although, a bit confusingly, it's often just called sh, because the standard says that it should be. Usually, this just means you get a bit extra free with your sh and it still does what you expect.