Contribute request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux