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


Groups > gnu.bash.bug > #11795

Re: unsetting from BASH_ALIASES

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: unsetting from BASH_ALIASES
Date Thu, 29 Oct 2015 13:41:35 -0400
Lines 19
Approved bug-bash@gnu.org
Message-ID <mailman.1266.1446140506.7904.bug-bash@gnu.org> (permalink)
References <CAAZkfoJNSqHCp5Xvkp=u0_Tg1V35b509o=v2AGpxyxXqowx89A@mail.gmail.com>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1446140506 28540 208.118.235.17 (29 Oct 2015 17:41:46 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu
To isabella parakiss <izaberina@gmail.com>, bug-bash <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <CAAZkfoJNSqHCp5Xvkp=u0_Tg1V35b509o=v2AGpxyxXqowx89A@mail.gmail.com>
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020206.56325A4F.02C5,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id 688ddb5c1a3b5f24f3ff25aebcc1de39
X-Junkmail-Whitelist YES (by domain whitelist at mpv1-2015.case.edu)
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020204.56325A50.02CE,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id 79dca777ceae44f431dc72d4e76d8e1c
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.226
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11795

Show key headers only | 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