help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Why bash does not recoganize array type smartly?


From: Dan Douglas
Subject: Re: [Help-bash] Why bash does not recoganize array type smartly?
Date: Wed, 16 Mar 2016 18:17:07 +0000

On 3/16/16, Stephane Chazelas <address@hidden> wrote:
>> Namerefs also provide
>> some simple ways to accomplish those same things that are less
>> difficult to use portably IMO.
>
> AFAIK, namerefs are not copies.

I mean you'd have to write a function to implement the operations you
want. It isn't as convenient as a pre-defined special-purpose
expansion. It would have to be something to stick in an rcfile or
other library. The unstable ksh has `typeset -c` for object copy (like
typeset -m in the last stable version).



reply via email to

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