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

2023-07-04 Thread Chet Ramey
On 7/4/23 3:03 AM, Fabian Groffen wrote: I've just finished bash-5.1 on powerpc-apple-darwin9, and it completes without problems. Wow, that's pretty old. Mine (PowerMac G5) is in the basement. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita

Re: +=() can be used to set illegal indices

2023-07-04 Thread alex xmb ratchev
On Tue, Jul 4, 2023, 14:01 Greg Wooledge wrote: > On Tue, Jul 04, 2023 at 10:40:26AM +0200, alex xmb ratchev wrote: > > On Tue, Jul 4, 2023, 01:52 Chet Ramey wrote: > > > > > On 7/3/23 5:56 PM, alex xmb ratchev wrote: > > > > > > > looked into non finite number libs ? > > > > gawk like .. ? > >

Re: +=() can be used to set illegal indices

2023-07-04 Thread Greg Wooledge
On Tue, Jul 04, 2023 at 10:40:26AM +0200, alex xmb ratchev wrote: > On Tue, Jul 4, 2023, 01:52 Chet Ramey wrote: > > > On 7/3/23 5:56 PM, alex xmb ratchev wrote: > > > > > looked into non finite number libs ? > > > gawk like .. ? > > > > bignums? No. intmax_t is enough for the shell. > > > > yea

Re: +=() can be used to set illegal indices

2023-07-04 Thread alex xmb ratchev
On Tue, Jul 4, 2023, 01:52 Chet Ramey wrote: > On 7/3/23 5:56 PM, alex xmb ratchev wrote: > > > looked into non finite number libs ? > > gawk like .. ? > > bignums? No. intmax_t is enough for the shell. > yea , bignums .. sad .. greets -- > ``The lyf so short, the craft so long to lerne.'' - C

Completion list updates on dynamic builtin load

2023-07-04 Thread Grisha Levit
The `enabled' and `disabled' completion lists don't get updated when a dynamic builtin is loaded: $ compgen -A enabled tty $ enable tty $ compgen -A enabled tty $ diff --git a/builtins/enable.def b/builtins/enable.def index aa143760..399c7fa3 100644 --- a/builtins/enable.def +++ b/builtins/enable

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

2023-07-04 Thread Fabian Groffen
On 03-07-2023 12:05:14 -0400, Chet Ramey wrote: > On 7/3/23 2:33 AM, Fabian Groffen wrote: > > > This is a Gentoo-specific problem. When we are bootstrapping a Prefix, > > we need an updated bash very early on in the process. On some systems, > > we experienced compilation failures in the readli