[Bug 567141] Re: $COMP_POINT: substring expression < 0 when tabbing after Ctrl-R sudo
Peter Cordes
peter at cordes.ca
Sat Nov 29 11:45:51 UTC 2014
Not seeing this in Trusty. Assuming fixed somewhere between then and
now.
** Changed in: bash-completion (Ubuntu)
Status: New => 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/567141
Title:
$COMP_POINT: substring expression < 0 when tabbing after Ctrl-R sudo
Status in bash-completion package in Ubuntu:
Fix Released
Bug description:
Binary package hint: bash-completion
After confirming a command found by Ctrl-R with Tab, if it starts with
sudo, the command supplied is wrong, and there are error messages on
the console.
How to reproduce:
1. Run "sudo echo test command" for it to be in the history.
2. Press Ctrl-R, type "sudo ec", press Tab.
3. Press Enter.
Expected results:
$ sudo echo test command
test command
$
Actual results:
After (2):
$ bash: $COMP_POINT: substring expression < 0
bash: $COMP_POINT: substring expression < 0
bash: COMP_WORDS: bad array subscript
--
After (3):
--sudo: command not found
$
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bash-completion 1:1.1-3ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Apr 20 13:07:11 2010
PackageArchitecture: all
ProcEnviron:
LANGUAGE=ru_RU:ru:en
PATH=(custom, user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/567141/+subscriptions
More information about the foundations-bugs
mailing list