bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'complete' not working as documented


From: Chet Ramey
Subject: Re: 'complete' not working as documented
Date: Sat, 11 Aug 2018 11:25:06 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 8/11/18 1:14 AM, Hugo Gabriel Eyherabide wrote:

> Bash Version: 4.4
> Patch Level: 18
> Release Status: release
> 
> Description:
> Bash manual says 'complete ... -D ... name' should be correct, whatever
> between -D and name applying to the completion on a command for which
> completion has not been previously defined.

No. In the description, `remaining' means `the options and option arguments
besides -D'.

> and
> 
> $ complete -p aabbname
> 
> shows nothing, indicating that the completion for aabbname has never been
> defined.

Yes. Any additional command name arguments supplied with -D are not used.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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