Re: Minimal ("base", "core", "server") Slackware install * Jim Diamond <Jim.Diamond@nonoise.AcadiaU.ca>:
> On 2007-09-26, James Michael Fultz <xyzzy@sent.as.invalid> wrote:
[ ... ]
>> Debian and Ubuntu which is derived from it. dash is the Debian Almquist
>> Shell, a fork of the Almquist Shell (ash) which is also available in
>> Slackware.
> Thanks for the details.
I'm not sure how many other Linux distributions use something else
besides Bash for sh. NetBSD uses ash for '/bin/sh', and last I knew,
so does FreeBSD.
[ Bash-isms in shell scripts ]
> In those cases, such scripts should read #! /bin/bash
> anyway, since the assumption that "sh" == "bash" is a bug.
I agree wholeheartedly. Conversely, I've seen scripts that implicitly
invoke Bash but make no use of Bash's extensions. Unfortunately,
unintended(?) Bash-isms tend to make using another shell from Bash as sh
potentially problematic on Linux systems.
> But one could run all the posix-compatible scripts with some faster
> shell, which still might improve things. (My comments on that in
> another reply here.)
Care would have to be taken with scripts that source others as is the
case with some of Slackware's initscripts.
--
James Michael Fultz <xyzzy@sent.as.invalid>
Remove this part when replying ^^^^^^^^ |