bug-bash
[Top][All Lists]
Advanced

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

Re: "implicit" unset of a read-only function unsets the functions


From: Chet Ramey
Subject: Re: "implicit" unset of a read-only function unsets the functions
Date: Sat, 12 Nov 2011 11:10:32 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11/11/11 11:20 AM, jens.schmidt35@arcor.de wrote:

> Description:
>       If there is a read-only function f, and no variable f,
>       then you cannot unset function f with "unset -f f", but
>       you can unset it with "unset f".
> 
>       Since f is read-only, it should not be possible to unset it
>       either way.

Thanks for the report.  This will be fixed in the next release of bash.

-- 
``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]