[Bash-completion-devel] bash: [COMPLETION] messup with sudo+nice+apt-get
David Paleino
d.paleino at gmail.com
Sat Sep 6 17:42:53 UTC 2008
fixed 356386 20080705
thanks
Hi Justin,
On Sat, 11 Mar 2006 11:40:19 -0500, Justin Prizby wrote:
> The following completes the last word to "nice" instead of
> "dist-upgrade":
>
> sudo nice -n+20 apt-get dis
>
> and the following completion causes some "internal" error:
>
> nice -n+20 sudo apt-get dis
>
> bash: COMP_WORDS: bad array subscript
> bash: COMP_WORDS: bad array subscript
I did confirm this bug on May, 11, but I can't reproduce it now: it must have
been fixed somewhen in the meanwhile ;)
$ sudo nice -n+20 apt-get dis<TAB>
$ sudo nice -n+20 apt-get dist-upgrade
$ nice -n+20 sudo apt-get dis<TAB>
$ nice -n+20 sudo apt-get dist-upgrade
It seems working, uh? ;)
Please feel free to reopen the bug if you ever happen to encounter this again.
Kindly,
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20080906/42cb7008/attachment.pgp
More information about the Bash-completion-devel
mailing list