bug-bash
[Top][All Lists]
Advanced

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

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


From: Tom Zych
Subject: Subject: compgen -c generates duplicates (bug or feature?)
Date: Thu, 04 Sep 2003 18:37:39 -0700

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I../src -I../src/include 
-I../src/lib  
uname output: Linux canaan.sonic.net 2.4.20 #1 Thu Jul 3 20:41:42 PDT 2003 i686 
GNU/Linux
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.

Not sure if this is a bug or a feature. I figure it should be
reviewed, anyway.

By the way, what's going on with gnu.bash.bug? Seems to be dead.

Repeat-By:

compgen -c kill

Thanks,
--
Tom Zych
This email address will expire at some point to thwart spammers.
Permanent address: echo 'gbzmlpu@cbobk.pbz' | rot13




reply via email to

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