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
[email protected]
http://lists.centos.org/mailman/listinfo/centos-docs

Reply via email to