Re: OT - Any true bourne shells out there for linux?

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



On Mon, Nov 08, 2010 at 03:39:22PM -0800, John R Pierce wrote:
> On 11/08/10 3:13 PM, Kwan Lowe wrote:
> > On Mon, Nov 8, 2010 at 3:06 PM, Phil Savoie<psavoie1783@xxxxxxxxxx>  wrote:
> >> Hi All,
> >>
> >> Was wondering if anyone knows there are any separate rpms to be able to
> 
> I thought it did that by default if it was invoked as /usr/bin/sh via 
> the link ?
> 
Doesn't seem to do so, with my strenuous test of typing sh then trying
echo $UID.  The true Bourne shell doesn't have that (which messed
me up once when forgetting that and working on an AIX box.  I think
that's when I discovered that UID is a bash-ism and not a sh-ism. 

Note that that is the only test I did--it might be that everything else
is perfect. 

IIRC, back when that happened (writing something portable and needing to
test syntax), I got the best results with dash.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Angel: I knew this was gonna happen. 
Buffy: What? What do you think is happening? 
Angel: You're 16 years old, I'm 241. 
Buffy: I've done the math. 
Angel: You don't know what you're doing. You don't know what you 
want. 
Buffy: Oh, no. I think I do. I want out of this conversation. 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux