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: Kerin Millar
Subject: Re: Enable compgen even when programmable completions are not available?
Date: Fri, 30 Jun 2023 18:35:34 +0100

On Sat, 01 Jul 2023 00:19:41 +0700
Robert Elz <kre@munnari.OZ.AU> wrote:

>     Date:        Thu, 29 Jun 2023 23:05:38 +0100
>     From:        Kerin Millar <kfm@plushkava.net>
>     Message-ID:  <20230629230538.cbef14a75694143ccf034a02@plushkava.net>
> 
>   | The thing is that portage also has a legitimate stake in needing
>   | to enumerate all variable names.
> 
> Why isn't "set" good enough for that?
> 
>       (set -o posix; set) | sed 's/=.*$//' | whatever_processes_them

This can be trivially foiled.

-- 
Kerin Millar



reply via email to

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