Debian Bug report logs - #356386
bash: [COMPLETION] messup with sudo+nice+apt-get

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Justin Pryzby <justinpryzby@users.sourceforge.net>

Date: Sat, 11 Mar 2006 17:03:08 UTC

Severity: minor

Tags: confirmed

Fixed in version bash-completion/20080705

Done: David Paleino <d.paleino@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#356386; Package bash. (full text, mbox, link).


Acknowledgement sent to Justin Pryzby <justinpryzby@users.sourceforge.net>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Justin Pryzby <justinpryzby@users.sourceforge.net>
To: submit@bugs.debian.org
Subject: bash: [COMPLETION] messup with sudo+nice+apt-get
Date: Sat, 11 Mar 2006 11:40:19 -0500
Package: bash
Version: 3.1-3
Severity: minor

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



Bug reassigned from package `bash' to `bash-completion'. Request was from Luk Claes <luk@debian.org> to control@bugs.debian.org. (Sun, 02 Mar 2008 15:26:09 GMT) (full text, mbox, link).


Tags added: confirmed Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sun, 11 May 2008 16:54:13 GMT) (full text, mbox, link).


Bug marked as fixed in version 20080705. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 06 Sep 2008 17:45:05 GMT) (full text, mbox, link).


Reply sent to David Paleino <d.paleino@gmail.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Justin Pryzby <justinpryzby@users.sourceforge.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #16 received at 356386-done@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: 356386-done@bugs.debian.org
Cc: Justin Pryzby <justinpryzby@users.sourceforge.net>, Bash-Completion Developers <bash-completion-devel@lists.alioth.debian.org>
Subject: Re: bash: [COMPLETION] messup with sudo+nice+apt-get
Date: Sat, 6 Sep 2008 19:42:53 +0200
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 05 Oct 2008 07:31:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:36:51 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.