bug-bash
[Top][All Lists]
Advanced

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

Re: Enable compgen even when programmable completions are not available?


From: Eli Schwartz
Subject: Re: Enable compgen even when programmable completions are not available?
Date: Mon, 26 Jun 2023 09:41:19 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1

On 6/26/23 5:32 AM, Kerin Millar wrote:
> While it is understandable that an attempt to assign to certain shell
> variables would be treated as an error, the combination of not
> printing a diganostic message and inducing a non-interactive shell to
> exit is rather confusing. Further, declare is granted special
> treatment, even after having been defined as a function (which might
> be a bug).


Yup, while trying out Martin's exact suggestion before initially posting
this thread (apologies, Martin -- I should have mentioned that) I was
thrown for a loop for several minutes trying to figure out what on earth
was going on there when I couldn't even echo the return value to check
what happened.


-- 
Eli Schwartz



reply via email to

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