[CentOS-docs] Contribute request

William L. Maltby CentOS4Bill at triad.rr.com
Tue May 12 18:19:19 UTC 2009


On Tue, 2009-05-12 at 12:33 -0400, R P Herrold wrote:
> 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.

Yep. See how much I had forgotten? Soon as I read those words, "Oh
Yeah!"

> 
> -- Russ herrold
> <snip sig stuff>

-- 
Bill (no holy war here, ever)



More information about the CentOS-docs mailing list