FS#3755 - Bash Completion error

Attached to Project: Arch Linux
Opened by Erwin Van de Velde (evdvelde) - Thursday, 12 January 2006, 22:45 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I get "-e expression #1, char 20: unterminated `s' command" when using bash completion since latest bash update... how to fix it?
Example: ssh 19<TAB>
Completion seems to work (hosts list is shown), but the error output is annoying.
This task depends upon

Closed by  arjan timmerman (blaasvis)
Saturday, 25 March 2006, 16:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in bash-3.1-2
Comment by Erwin Van de Velde (evdvelde) - Friday, 13 January 2006, 20:51 GMT
UPDATE:
It seems to happen with all services that can use ssh (ssh itself, scp, rsync etc.) other completions (like e.g. ftp) work fine.
Comment by Benny Kjellgren (benny) - Thursday, 26 January 2006, 14:58 GMT
Perhaps same problem as #3835. You can try my fix.
http://bugs.archlinux.org/task/3835
//benny
Comment by Erwin Van de Velde (evdvelde) - Friday, 27 January 2006, 08:41 GMT
It was indeed the same bug as 3835 and your fix is working. Thanks a lot!
Erwin
Comment by kronin (kronin) - Friday, 03 February 2006, 00:24 GMT
this is a bash parse error.

see here:
http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00033.html

here is a patch, that solves this

Loading...