On Mon 05 Sep 2005 at 13:53:08 +0200, you wrote: > X-Loop: [EMAIL PROTECTED] > Reply-To: Doc Nielsen <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > X-Debian-PR-Message: report 300538 > X-Debian-PR-Package: bash > X-Debian-PR-Keywords: patch > X-Mailer: reportbug 3.8 > Delivered-To: [EMAIL PROTECTED] > X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin) > X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests= > X-Spam-Level: > Resent-From: Doc Nielsen <[EMAIL PROTECTED]> > Resent-To: debian-bugs-dist@lists.debian.org > Resent-Cc: [EMAIL PROTECTED], Matthias Klose <[EMAIL PROTECTED]> > Resent-Date: Sun, 20 Mar 2005 12:48:03 UTC > Resent-Message-ID: <[EMAIL PROTECTED]> > Resent-Sender: Debian BTS <[EMAIL PROTECTED]> > From: Doc Nielsen <[EMAIL PROTECTED]> > To: Debian Bug Tracking System <[EMAIL PROTECTED]> > Subject: Bug#300538: bash: _interfaces: command not found. > Date: Sun, 20 Mar 2005 13:34:46 +0100 > > Package: bash > Version: 3.0-14 > Severity: normal > Tags: patch > > Package in question: bash_3.0-14_i386.deb > > It is rarely that i use the tab completion, but when i do, its mostly > for things like this. > Today i ran across a little problem. When i tried to tab-complete for > interfaces on my laptop computer, trying to bring the wireless card up, > i got this reply: bash: _interfaces: command not found > > I then looked through the file (grep -r interfaces /etc/bash_complet*) > to find any references to _interfaces, and didnt find its definition, > only its use. > I then made a backup of my /etc/bash_completion, and changed two lines > that called _interfaces, to call _available_interfaces instead. > Bash interface completion now works as expected. > > Here is the patch: > ==================================== > --- /etc/bash_completion 2005-03-20 13:12:03.000000000 +0100 > +++ /etc/bash_completion.old 2005-03-20 12:58:00.000000000 +0100 > @@ -2919,7 +2919,7 @@ > return 0 > ;; > -i) > - _interfaces > + _available_interfaces > return 0 > ;; > esac > @@ -6745,7 +6745,7 @@ > COMPREPLY=( $( compgen -W '-p -d -q -1 -r -lf -pf \ > -cf -sf -s -g -n -nw -w' -- $cur ) ) > else > - _interfaces > + _available_interfaces > fi > } > [ "${have:-}" ] && complete -F _dhclient dhclient > ==================================== > > Doc Nielsen <[EMAIL PROTECTED]> > > -- System Information: > Debian Release: 3.1 > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: i386 (i686) > Kernel: Linux 2.4.27 > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set > to en_US) >
Fixed in previous release. Ian -- Ian Macdonald | I will never trust someone called GATES [EMAIL PROTECTED] | that sells WINDOWS. -- Federico Román http://www.caliban.org/ | | |