I confirm this in bash 3.2-5ubuntu1 on 9.04, and that it's still present in 
bash 4.0-5ubuntu2 on 9.10.
It only triggers for the commands with special completion processing.  For 
example:
cd /tmp
cp /bin/cat cat
./cat<space><space>foo   (tab between spaces triggers error "-bash: $index: 
substring expression < 0")
cp /bin/cat test
./test<space><space>foo  (tab between spaces does NOT trigger an error)

-- 
bash autocompletion giving COMP_WORDS with &&
https://bugs.launchpad.net/bugs/366446
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to