Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11795

Re: unsetting from BASH_ALIASES

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: unsetting from BASH_ALIASES
Date 2015-10-29 13:41 -0400
Message-ID <mailman.1266.1446140506.7904.bug-bash@gnu.org> (permalink)
References <CAAZkfoJNSqHCp5Xvkp=u0_Tg1V35b509o=v2AGpxyxXqowx89A@mail.gmail.com>

Show all headers | View raw


On 10/26/15 10:54 PM, isabella parakiss wrote:
> man bash claims that unsetting elements from BASH_ALIASES causes them to
> be removed from the alias list.  This doesn't work and from what I can see
> in variables.c there's nothing that's called when an element in a dynamic
> variable is unset.
> 
> Is there any plan to support this?

You're right -- it doesn't work right now.  It's a documentation error.  I
don't know whether it can be made to work by the time bash-4.4 comes out
due to the transformations required between the data held in associative
array hash tables and the data held in the aliases hash table.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: unsetting from BASH_ALIASES Chet Ramey <chet.ramey@case.edu> - 2015-10-29 13:41 -0400

csiph-web