[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enable builtin bugs in bash 5.2
From: |
Chet Ramey |
Subject: |
Re: enable builtin bugs in bash 5.2 |
Date: |
Wed, 31 May 2023 10:07:07 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
On 5/30/23 4:46 PM, Robert Elz wrote:
Date: Tue, 30 May 2023 15:28:57 -0400
From: Chet Ramey <chet.ramey@case.edu>
Message-ID: <ad399376-280e-bcdd-1aff-740f1a6ea4de@case.edu>
| Hmmmm. That's not the only option. How about we load it if found but mark
| it as not enabled? It will still take `enable -d' to delete it.
That wouldn't match the man page, and isn't really rational.
The documentation can always be changed to match a change in behavior.
The man page says:
The -f option means to load the new builtin command name from
shared object filename, on systems that support dynamic loading.
and
If no options are supplied and a name is not a shell builtin,
enable will attempt to load name from a shared object named name,
as if the command were ``enable -f name name .
I think it's reasonable to stay like that, and change the behavior as
Emanuele proposes.
--
``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/