2021年4月19日(月) 7:01 Chet Ramey :
> On 4/16/21 12:11 PM, Koichi Murase wrote:
> >> nobody should be surprised to see a `double expansion'.
> >
> > In that case, I agree that no one would be surprised by the double
> > expansion of the *variable names* because it's the purpose of the
> > namerefs. Bu
Thanks. Rube Goldberg would approve🙂
On Sun, Apr 18, 2021 at 10:17 PM Grisha Levit wrote:
> On Sun, Apr 18, 2021, 7:13 PM Ananth Chellappa
> wrote:
>
>> Far as I understand, there is no
>> way to accomplish what I want - concisely : *get a true private mode* (no
>> logging to HISTFILE *OR* reca
On Sun, Apr 18, 2021, 7:13 PM Ananth Chellappa wrote:
> Far as I understand, there is no
> way to accomplish what I want - concisely : *get a true private mode* (no
> logging to HISTFILE *OR* recall with history command after exiting
> private-mode (toggle of history using set -/+ o) *without sac
2021年4月19日(月) 6:46 Chet Ramey :
> On 4/13/21 5:18 AM, Koichi Murase wrote:
> > I actually doubt whether there are real use cases for the behavior
> > that «iref=a[@]; ${!iref}» or «declare -n nref=a[@]; $nref» expands to
> > all the elements of *associative* arrays. Maybe it is useful to
> > expan
But have I conveyed the functionality I'm seeking? Naseeba's version works
perfectly..
I agree I can't assert the existing version doesn't provide it. I'm happy
to learn how to use it to meet my needs.. The best change is always no
change.
On Sun, Apr 18, 2021 at 9:18 PM Lawrence Velázquez wrote
> On Apr 18, 2021, at 7:12 PM, Ananth Chellappa wrote:
>
> Even this guy https://paulh.consulting/
> thought it was easy before deciding it was worth $500 of his time to try
> adding it :)
I don't know who "this guy" is. There are a lot of very skilled
developers who aren't specifically versed
On Sun, Apr 18, 2021 at 04:12:10PM -0700, Ananth Chellappa wrote:
> Sincerely appreciate your time. Far as I understand, there is no
> way to accomplish what I want - concisely : *get a true private mode* (no
> logging to HISTFILE *OR* recall with history command after exiting
> private-mo
Chet, Lawrence,
Sincerely appreciate your time. Far as I understand, there is no
way to accomplish what I want - concisely : *get a true private mode* (no
logging to HISTFILE *OR* recall with history command after exiting
private-mode (toggle of history using set -/+ o) *without sacrificin
On Mon, Apr 19, 2021 at 6:01 AM Chet Ramey wrote:
> > Yes, but if `unset' is defaulted to `assoc_expand_once' behavior while
> > indirect expansions and namerefs aren't changed, users still need to
> > do two different ways of quoting: « unset "a[$key]" » versus «on
> > iref='a[$key]'; echo "${!ir
On 4/18/21 12:03 AM, Ananth Chellappa wrote:
Hello Brian and Chet,
Please consider merging the enhancement made by Naseeba described
here :
What is the ultimate goal of this change? And, whatever it is, why is it
better than currently-available ways to accomplish the same thing?
--
`
On 4/16/21 12:11 PM, Koichi Murase wrote:
From the users' point of view, indirect expansions and name references
currently undergo "double expansions" in assigning time and in
reference time; I mean naive users will write as « iref=a[$key] »
instead of « iref='a[$key]' » and run « echo "${!ir
On 4/13/21 5:18 AM, Koichi Murase wrote:
I actually doubt whether there are real use cases for the behavior
that «iref=a[@]; ${!iref}» or «declare -n nref=a[@]; $nref» expands to
all the elements of *associative* arrays. Maybe it is useful to
expand the indexed arrays in this way because indexe
Hi,
> On Apr 18, 2021, at 12:03 AM, Ananth Chellappa wrote:
>
> Hello Brian and Chet,
> Please consider merging the enhancement made by Naseeba described
> here :
>
> https://github.com/ananthchellappa/bash-5.1/blob/main/README.md
In your future emails, you may want to consider
- writ
Hello Brian and Chet,
Please consider merging the enhancement made by Naseeba described
here :
https://github.com/ananthchellappa/bash-5.1/blob/main/README.md
Thanks,
Ananth
14 matches
Mail list logo