[Bug 1357715] Re: causes syntax error in expression for umount
Victor Passapera
1357715 at bugs.launchpad.net
Sat Aug 16 21:42:46 UTC 2014
Patch that seems to somewhat fix it:
--- /usr/share/bash-completion/completions/umount.linux
+++ /usr/share/bash-completion/completions/umount.linux
@@ -11,7 +11,7 @@
# second round is required because compgen -W will helpfully expand it's
# argument.
local i wlist
- for i in ${!COMPREPLY[*]}; do
+ for i in "${!COMPREPLY[@]}"; do
local q=$(quote "$(printf %q "${COMPREPLY[$i]}")")
wlist+=$q$'\n'
done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1357715
Title:
causes syntax error in expression for umount
Status in “bash-completion” package in Ubuntu:
In Progress
Bug description:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
bash-completion:
Installed: 1:2.1-4
Candidate: 1:2.1-4
Version table:
*** 1:2.1-4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
When in a console and typing
sudo umount <tab button>
I get the following error:
sudo umount bash: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30: syntax error in expression (error token
is "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30")
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions
More information about the foundations-bugs
mailing list