bug-bash
[Top][All Lists]
Advanced

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

in bash 4.4.12,want to verify a behavior...


From: L A Walsh
Subject: in bash 4.4.12,want to verify a behavior...
Date: Fri, 15 Feb 2019 20:45:45 -0800
User-agent: Thunderbird

I printed the various declares using:

declare -p |& more

One of the early entries is:

declare -A BASH_ALIASES=()

Yet if I type 'alias |& wc, I see 56 lines starting with alias.

I _thought_ BASH_ALIASES was suppose to hold the aliases
and for an "alias whence='type -a'", I should see something like
declare -A BASH_ALIASES=([whence]='type -a ...) instead of
the empty assignment above.

Am I misunderstanding or missing something?

I'm assuming ("guessing?") that other people see
their aliases in
BASH_ALIASES?

Am trying to figure out where I should start looking for why
this isn't set, but wanted to make sure my understanding of
of this feature was correct.

Thanks!
-linda






reply via email to

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