[Bug 316654] [NEW] Bash-completion bug in "modprobe -r" (awk syntax error)
Launchpad Bug Tracker
316654 at bugs.launchpad.net
Thu Feb 17 09:48:56 UTC 2011
You have been subscribed to a public bug by Daniel Holbach (dholbach):
Binary package hint: bash-completion
In bash try "modprobe -r /<tab>" (in which <tab> means pressing the <tab> key to auto complete.
I get an errornous output "awk: line 1: syntax error at or near )".
What should happen is file/directory name should be completed (even if/when "modprobe -r" expects a module name as parameter). There shouldn't be an error message (not before user press <enter>.
The bug does not occur when doing other modprobe functions eg "modprobe /<tab>" or "modprobe -l /<tab>".
It seems the key to failure is the parameter '-r' and '/' sign in the beginning of "module name".
Tested in two Ubuntu hardy 8.04 32bit desktop and one Ubuntu Intrepid
8.10 64bit server.
Ubuntu 8.04.1 32bit:
$ apt-cache policy bash-completion
bash-completion:
Installed: 20060301-3ubuntu3
Candidate: 20060301-3ubuntu3
Version table:
*** 20060301-3ubuntu3 0
500 http://fi.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
Ubuntu 8.10 64bit:
~$ apt-cache policy bash-completion
bash-completion:
Installed: 20060301-4ubuntu1
Candidate: 20060301-4ubuntu1
Version table:
*** 20060301-4ubuntu1 0
500 http://fi.archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
** Affects: bash-completion (Ubuntu)
Importance: Low
Assignee: Colin Watson (cjwatson)
Status: Fix Released
--
Bash-completion bug in "modprobe -r" (awk syntax error)
https://bugs.launchpad.net/bugs/316654
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list