[CentOS-docs] Contribute request

Tue May 12 16:36:11 UTC 2009
Vladislav Rastrusny <FractalizeR at yandex.ru>

I didn't mean to start a holy war here! ;) Bash is also ok ;)

2009/5/12 R P Herrold <herrold at centos.org>:
> On Tue, 12 May 2009, William L. Maltby wrote:
>
>>
>> On Tue, 2009-05-12 at 11:42 -0400, R P Herrold wrote:
>
>>>> For widest possible coverage, something like bash should be considered.
>>> curious -- when coding under that criterion, I end up at:
>>>      /bin/sh
>>> in my script's shebang   ;)
>
>> lrwxrwxrwx 1 root root 4 Apr  1 17:17 /bin/sh -> bash
>>
>> As it should be.
>
> The use of a link is not a statement that /bin/sh behaves as
> bash;  the interpreter notes how it was called, and acts to
> the shell dialect restrictions chosen by how it is invoked.
>
> -- Russ herrold
> _______________________________________________
> CentOS-docs mailing list
> CentOS-docs at centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
>