[Bash-completion-devel] Bug#608046: bash-completion: Completion of inserted option after command throws bash error

Javier Moreno López javier.moreno.lopez at gmail.com
Sun Dec 26 14:18:01 UTC 2010


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20101226/d3b737bd/attachment.htm>


More information about the Bash-completion-devel mailing list