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 com
ke sure that
> >> programmable completions are enabled when compiling your bash binary"?
> >
> > No. You need to say that users should make sure they haven't disabled
> > them when compiling their bash binary.
> >
>
> Then the configure help text should reflect that. But needing compgen
> for this is still odd, in any case. Or feels it to me.
>
> >> Should I eschew compgen and rely on eval-using hacks like the one Kerin
> >> described?
> >
> > It's your call, of course. You just have to decide whether or not it's
> > worth the effort to accommodate non-default option choices. What about
> > aliases? Arrays? Brace expansion? Process substitution? Extglobs? All of
> > those can be compiled out. What's the `bash core' you're going to assume?
>
> Only one of these requires an external (modulo the bundled copy) library.
--
Fabian Groffen
Gentoo on a different level
signature.asc
Description: PGP signature