bug-bash
[Top][All Lists]
Advanced

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

Re: declare a="$b" if $a previously set as array


From: Chet Ramey
Subject: Re: declare a="$b" if $a previously set as array
Date: Sun, 14 Dec 2014 16:12:00 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 12/10/14 8:27 AM, konsolebox wrote:

>> Note that that's the Bourne shell, not a POSIX sh.
> 
> I was actually wanting to say that heirloom-sh is still a modernized
> shell (in code) despite being a strict clone of the original sh.

It's not a `strict' clone'.  It is a modified version of the SVR4 bourne
shell as it appeared in Solaris.

> And that is where I made the assumption about other shells.  I
> don't really study POSIX and I don't really care about it because I
> don't see it as the general standard to base from when creating
> compatible scripts.

I'm curious about what you see as performing that function.  Something
Linux-specific is disqualified as being not cross-platform.

>  Moreover I still respect bourne shell.

That's fine, but note that the bourne shell has nothing to contribute
to this discussion.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]