[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enable compgen even when programmable completions are not available?
From: |
Robert Elz |
Subject: |
Re: Enable compgen even when programmable completions are not available? |
Date: |
Sat, 01 Jul 2023 00:19:41 +0700 |
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
You need posix mode, so bash doesn't dump functions as well (which IMO
it shouldn't do with set, ever, but has probably been doing it since
prehistoric times, and somewhere, there's probably 1 user depending upon it...)
kre
- Re: Enable compgen even when programmable completions are not available?, (continued)
- Re: Enable compgen even when programmable completions are not available?, alex xmb ratchev, 2023/06/26
- Re: Enable compgen even when programmable completions are not available?, Chet Ramey, 2023/06/29
- Re: Enable compgen even when programmable completions are not available?,
Robert Elz <=
- Re: Enable compgen even when programmable completions are not available?, Kerin Millar, 2023/06/30
- Re: Enable compgen even when programmable completions are not available?, Eli Schwartz, 2023/06/30
- Re: Enable compgen even when programmable completions are not available?, Robert Elz, 2023/06/30
- Re: Enable compgen even when programmable completions are not available?, Kerin Millar, 2023/06/30
- Re: Enable compgen even when programmable completions are not available?, Eli Schwartz, 2023/06/30
Re: Enable compgen even when programmable completions are not available?, Fabien Orjollet, 2023/06/27