Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117770 - bash_completion breaks with bash-3.1
Summary: bash_completion breaks with bash-3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
: 118367 121225 (view as bug list)
Depends on: 119261
Blocks:
  Show dependency tree
 
Reported: 2006-01-04 11:44 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2006-03-02 04:03 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bash_completion-ssh-bash-3.1.patch (bash_completion-ssh-bash-3.1.patch,537 bytes, patch)
2006-01-04 11:46 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff
117770.bugs.gentoo.org-bash-3-ssh.patch (117770.bugs.gentoo.org-bash-3-ssh.patch,512 bytes, patch)
2006-01-15 22:45 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-04 11:44:47 UTC
After pressing TAB after ssh:

nelchael@nelchael ~$ ssh sed: -e expression #1, char 20: unterminated `s' command

Expected host list is available after pressing the TAB key again, but the sed error is still there.

Versions:

[ebuild   R   ] app-shells/bash-3.1-r2  USE="nls -afs -bashlogger -build -unicode" 0 kB 
[ebuild   R   ] app-shells/bash-completion-20050721  0 kB
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-04 11:46:09 UTC
Created attachment 76172 [details, diff]
bash_completion-ssh-bash-3.1.patch

This patch solves the problem.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-09 02:20:51 UTC
*** Bug 118367 has been marked as a duplicate of this bug. ***
Comment 3 Ed Catmur 2006-01-15 22:45:26 UTC
Created attachment 77230 [details, diff]
117770.bugs.gentoo.org-bash-3-ssh.patch

No, that patch breaks taking aliases from config files. This patch should work.

There is a problem with bash parsing, though.
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2006-01-16 13:29:58 UTC
(In reply to comment #3)

> There is a problem with bash parsing, though.

Exactly.  AFAICS there's nothing wrong with bash-completion as it is now.  I'd rather see bash-3.1 fixed than applying a workaround to bash-completion.
Comment 5 Ed Catmur 2006-01-17 00:46:29 UTC
See bug 119261 for cause, link and patch.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-01 14:19:13 UTC
*** Bug 121225 has been marked as a duplicate of this bug. ***
Comment 7 Aaron Walker (RETIRED) gentoo-dev 2006-03-02 04:03:46 UTC
I guess upstream has decided to work around the bash-3.1 issues instead of pushing to get the real problem fixed.  20060301 is in portage.