Bash-completion bug in "modprobe -r" (awk syntax error)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Fix Released
|
Low
|
Colin Watson |
Bug Description
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://
100 /var/lib/
Ubuntu 8.10 64bit:
~$ apt-cache policy bash-completion
bash-completion:
Installed: 20060301-4ubuntu1
Candidate: 20060301-4ubuntu1
Version table:
*** 20060301-4ubuntu1 0
500 http://
100 /var/lib/
Related branches
Changed in bash-completion: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in bash-completion: | |
assignee: | nobody → kamion |
Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!