Debian Bug report logs - #608046
bash-completion: Completion of inserted option after command throws bash error

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: Javier Moreno López <javier.moreno.lopez@gmail.com>

Date: Sun, 26 Dec 2010 14:21:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version 1:1.1-3ubuntu2

Fixed in version 1:1.99-1

Done: dapal@debian.org

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, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#608046; Package bash-completion. (Sun, 26 Dec 2010 14:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Javier Moreno López <javier.moreno.lopez@gmail.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sun, 26 Dec 2010 14:21:05 GMT) (full text, mbox, link).


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

From: Javier Moreno López <javier.moreno.lopez@gmail.com>
To: submit@bugs.debian.org
Subject: bash-completion: Completion of inserted option after command throws bash error
Date: Sun, 26 Dec 2010 15:18:01 +0100
[Message part 1 (text/plain, inline)]
Package: bash-completion
Version: 1:1.1-3ubuntu2
Severity: normal

This is hard to actually capture since apparently a carriage return is
output and overwrites the rest of the line..

ssh -i bash: $index: substring expression < 0

Basically, to reproduce, try this:

1. type 'ssh someuser@somehost'
2. move cursor back between ssh and someuser
3. type '-i ' and hit TAB
4. Error happens.

NOTE: You must follow the instructions exactly. If you do 'ssh -i' and then
hit TAB, it works.

Tested on Lucid 10.04, Maverick 10.10 and Natty 11.04. All amd64 computers.

Downstream link:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692562


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-27-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                        4.1-2ubuntu3 The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
[Message part 2 (text/html, inline)]

Added tag(s) fixed-upstream. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sun, 26 Dec 2010 14:33:03 GMT) (full text, mbox, link).


Bug closed, send any further explanations to Javier Moreno López <javier.moreno.lopez@gmail.com> Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sat, 07 Jan 2012 23:48:12 GMT) (full text, mbox, link).


Bug Marked as fixed in versions 1:1.99-1. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sat, 07 Jan 2012 23:48:18 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 05 Feb 2012 07:38:57 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:42:56 2023; Machine Name: buxtehude

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.