[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: declare a="$b" if $a previously set as array
From: |
konsolebox |
Subject: |
Re: declare a="$b" if $a previously set as array |
Date: |
Mon, 15 Dec 2014 11:55:01 +0800 |
On Mon, Dec 15, 2014 at 5:12 AM, Chet Ramey <chet.ramey@case.edu> wrote:
> 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.
I see. That was just my immediate impression of it sorry.
>> 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.
There's one well-known project I know that used to make itself
compatible across many systems without minding compatibility about
POSIX. I'm not sure if it has changed already both on target systems
and in code (even if the description says so).
http://sf.net/projects/rkhunter
>> Moreover I still respect bourne shell.
>
> That's fine, but note that the bourne shell has nothing to contribute
> to this discussion.
Sorry, I was actually also wanting to end the discussion myself. I just
can't avoid making a reply when something is needing one.
Cheers,
konsolebox
- Re: declare a="$b" if $a previously set as array, (continued)
- Re: declare a="$b" if $a previously set as array, Stephane Chazelas, 2014/12/09
- Re: declare a="$b" if $a previously set as array, Stephane Chazelas, 2014/12/09
- Re: declare a="$b" if $a previously set as array, konsolebox, 2014/12/09
- Re: declare a="$b" if $a previously set as array, Greg Wooledge, 2014/12/09
- Re: declare a="$b" if $a previously set as array, Stephane Chazelas, 2014/12/09
- Re: declare a="$b" if $a previously set as array, konsolebox, 2014/12/09
- Re: declare a="$b" if $a previously set as array, Stephane Chazelas, 2014/12/10
- Re: declare a="$b" if $a previously set as array, Stephane Chazelas, 2014/12/10
- Re: declare a="$b" if $a previously set as array, konsolebox, 2014/12/10
- Re: declare a="$b" if $a previously set as array, Chet Ramey, 2014/12/14
- Re: declare a="$b" if $a previously set as array,
konsolebox <=
- Re: declare a="$b" if $a previously set as array, Chet Ramey, 2014/12/14
- Re: declare a="$b" if $a previously set as array, Dan Douglas, 2014/12/15
- Re: declare a="$b" if $a previously set as array, Chet Ramey, 2014/12/14
- Re: declare a="$b" if $a previously set as array, Chet Ramey, 2014/12/14
Re: declare a="$b" if $a previously set as array, Chet Ramey, 2014/12/14
Re: declare a="$b" if $a previously set as array, Dan Douglas, 2014/12/15