[Bug 692562] Re: completion of inserted option after command throws bash error

Peter Cordes peter at cordes.ca
Sat Nov 29 12:42:01 UTC 2014


** Changed in: bash-completion (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/692562

Title:
  completion of inserted option after command throws bash error

Status in bash-completion package in Ubuntu:
  Fix Released
Status in bash-completion package in Debian:
  Fix Released

Bug description:
  Binary package hint: bash-completion

  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.

  My system info:

  Description:	Ubuntu 10.10
  Release:	10.10
    Installed: 1:1.2-2ubuntu1
    Candidate: 1:1.2-2ubuntu1
    Version table:
   *** 1:1.2-2ubuntu1 0
          500 http://www.club.cc.cmu.edu/pub/ubuntu/ maverick/main amd64 Packages
          100 /var/lib/dpkg/status

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692562/+subscriptions



More information about the foundations-bugs mailing list