Public bug reported:

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: Undecided
         Status: New

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to