bug-bash
[Top][All Lists]
Advanced

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

Re: Subject: compgen -c generates duplicates (bug or feature?)


From: Chet Ramey
Subject: Re: Subject: compgen -c generates duplicates (bug or feature?)
Date: Mon, 15 Sep 2003 16:31:48 -0400

> Machine Type: i386-pc-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
> 
> If a given name exists within one's executable set more than once
> (a builtin and an executable, or executables in more than one
> directory, for example), compgen -c will output it multiple times.

compgen -c is intended to provide possible completions for the rest of
the bash/readline completion code, which takes care of removing
duplicate matches.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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