2026年4月7日(火) 0:01 Chet Ramey <[email protected]>:
> On 4/2/26 5:23 AM, Koichi Murase wrote:
> > I'm also interested in this. We already have some functions that
> > return an array through REPLY in bash-completion (see e.g. Ref. [1]).
>
> This doesn't depend on REPLY specifically and could just as easily use
> a different variable name.

What do you mean? I meant that we already have functions assigning
results to REPLY as an array, so that the suggested "array
substitution" can be readily used with those functions. If a function
uses "a different variable name" as you suggest, that function cannot
be used with array substitution, which is not useful. Or do you intend
to implement the array substitution to use a different variable name?

--
Koichi

Reply via email to