bug-bash
[Top][All Lists]
Advanced

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

Re: unsetting from BASH_ALIASES


From: Chet Ramey
Subject: Re: unsetting from BASH_ALIASES
Date: Thu, 29 Oct 2015 13:41:35 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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/



reply via email to

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