[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unset builtin behaves differently from bash manual
From: |
Chet Ramey |
Subject: |
Re: unset builtin behaves differently from bash manual |
Date: |
Sun, 29 May 2011 12:56:17 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 |
On 5/27/11 10:15 AM, Mu Qiao wrote:
> Bash Version: 4.1
> Patch Level: 9
> Release Status: release
>
> Description:
> We haven't checked bash-4.0 but for bash-4.1 and later, without
> options, unset first tries to unset a variable, and if that fails, tries
> to unset a function. However, The manual still states the old behavior.
Thanks for the report. I will clarify the documentation.
--
``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/