Red Hat Bugzilla – Bug 250978
Spelling Correction does not properly handle completion when appending 1-character suffixes
Last modified: 2013-04-12 06:58:44 EDT
Description of problem:
Spelling Correction does not properly handle completion when appending
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a command completion that includes a suffix. I am using:
complete scp C%./%f% n/./"(host1 host2)"/: p/1/"(host1 host2)"/:
2. give a command that would fall under the completion rule. eg:
scp ./tarfile.tar host1:
Spelling Correction attempts to correct the last argument in the above command
to the same argument without the appended suffix (in this case the colon) as in:
CORRECT>scp ./tarfile.tar host1 (y|n|e|a)?
Spelling Correction should not intervene here at all
yes, I could just add a colon to the end of each host statement in the list, but
that would mean I couldn't expand variables which is how I'm actually using it
Also, this does not seem to be an issue when the suffix is a trailing / (added
to a directory) as described in the tcsh man page and controlled by the
fignore does not seem to change this behavior
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
I am not able to reproduce the issue with RHEL-6. I assume it was fixed meanwhile. Feel free to reopen if you have reproducer on current RHEL.
I am sorry, but it is now too late in the RHEL-5 release cycle.
RHEL-5.10 (the next RHEL-5 minor release) is going to be the first
production phase 2  release of RHEL-5. Since phase 2 we'll be
addressing only security and critical issues.
This one issue is fixed in RHEL-6 therefore I am closing the bug as