bug-bash
[Top][All Lists]
Advanced

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

Re: bug: illegal function name?


From: Chet Ramey
Subject: Re: bug: illegal function name?
Date: Mon, 21 Jan 2019 15:16:54 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 1/20/19 10:56 PM, pepa65 wrote:
> On 20/1/2019 19:50, Eduardo A. Bustamante López wrote:
>> Changing the behavior of `unset f' to only ever unset variables means
>> potentially breaking existing scripts. Is the inconsistency reported severe
>> enough to make this change?
> 
> The alternative would be to allow anything (that is not a proper
> variable name) after unset, and if it can't be a variable name, only the
> functions need to be checked and unset if they exist.

This is reasonable to look at for a future version.

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



reply via email to

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