bug-bash
[Top][All Lists]
Advanced

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

Re: info missing in output of declare -a in 4.4.x


From: Dennis Williamson
Subject: Re: info missing in output of declare -a in 4.4.x
Date: Sun, 17 Feb 2019 16:19:15 -0600

On Sun, Feb 17, 2019, 3:10 PM L A Walsh <address@hidden wrote:

>
>
> On 2/16/2019 4:57 AM, Robert Elz wrote:
> >     Date:        Fri, 15 Feb 2019 22:21:25 -0800
> >     From:        L A Walsh <address@hidden>
> >     Message-ID:  <address@hidden>
> >
> >   |     Thought about that....restarted a fresh shell.  Same same.
> >   | At least I know it's supposed to...
> >
> > It isn't just BASH_ALIASES - you'll see the same from lots of
> > other dynamic variables.
> >
> ---
> Woe!  That's what threw me -- it says empty, but it isn't.
> > Try actually accessing an element, as in ...
> >
> >
> > On occasion, the output from declare will show all the
> > aliases in BASH_ALIASES but I have no idea what sequence of
> > commands, of state of the universe, causes that to happen.
> >
> -----
>
> AND -- just did it now, it doesn't even show BASH_ALIASES, but
> I know I have aliases defined.  Weird!
>
> So it really is a bug of some sort, not that I use BASH ALIASES
> for anything.  Was going to, but ...  and you're right, lots of
> things aren't showing there.
>
>
>

Have you tried starting Bash without any startup files, creating an alias
and then checking the array?

>


reply via email to

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