Bug 177056 - bash-completion quoting issues with bash 3.1
bash-completion quoting issues with bash 3.1
Product: Fedora
Classification: Fedora
Component: bash-completion (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
: Patch
Depends On:
  Show dependency treegraph
Reported: 2006-01-05 15:35 EST by Ville Skyttä
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 20050721-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-17 15:57:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Potential sample fix (527 bytes, patch)
2006-01-05 15:35 EST, Ville Skyttä
no flags Details | Diff

  None (edit)
Description Ville Skyttä 2006-01-05 15:35:17 EST
$ scp 19<TAB>
+++ sed -ne 's/^[Hh][Oo][Ss][Tt][' ']*\([^*?]*\)$/\1/p' /etc/ssh/ssh_config
sed: -e expression #1, char 20: unterminated `s' command

Attached patch seems to fix this (needs to be applied in other places in
bash_completion as well), patch forwarded upstream and comments requested.
Comment 1 Ville Skyttä 2006-01-05 15:35:18 EST
Created attachment 122842 [details]
Potential sample fix
Comment 2 John Ellson 2006-01-07 17:20:16 EST
Same problem here with: ssh localh<ESC><ESC>
Patch works for me.
Comment 3 Ville Skyttä 2006-01-17 15:57:28 EST
Thanks for testing and the feedback.  I haven't heard from upstream, so
committed a patch which changes other similar constructs as well; been running
with it for a while and noticed no problems.  This will be in the next Extras push.

Note You need to log in before you can comment on or make changes to this bug.