On 5/17/13 5:50 PM, Mario Signorino wrote:
> Hi all
>
> I need some help and possibly also an advice.
>
> Is it possible to retrieve the COMPREPLY variable outside and/or after
> calling the complete function?
No. The programmable completion code unsets COMPREPLY after the shell
function completes. You might have some luck experimenting with the
default completion feature (complete -D), but you'll have to do all the
dispatching yourself.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/