Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118367 - bash-competion ssh error
Summary: bash-competion ssh error
Status: RESOLVED DUPLICATE of bug 117770
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 02:16 UTC by Olaf Walkowiak
Modified: 2006-01-09 02:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Walkowiak 2006-01-09 02:16:11 UTC
When using bash-completion with ssh, I get the error:

sed: -e expression #1, char 20: unterminated `s' command

disabling line 2478 in /etc/bash_completion fixes this:

# hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} )" -- $ocur )
Comment 1 Olaf Walkowiak 2006-01-09 02:16:49 UTC
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/www/localhost/htdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="de"
MAKEOPTS="-j 2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib acpi alsa apache2 arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cgi cjk cli crypt cups curl dba dedicated dga divx4linux dvd dvdr dvdread eds emacs emboss encode esd ethereal evo exif expat fam fbcon ffmpeg flac flash fluidsynth fontconfig foomaticdb fortran freetype gb gd ggi ggz gif gimpprint glut gmp gnome gnome-libs gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib innodb jack java jpeg junit kde ladcca lcms ldap leim libcaca libg++ libgda libwww lirc lua mad maildir mcal mhash mikmod ming mmx mmx2 mng mozctl mozdevelop mozilla mozirc moznomail mozsvg mp3 mpeg mule multicall mysql ncurses network nls nsplugin oci8 odbc ogg oggvorbis openal opengl oracle oss pam pcre pdflib pear perl php pic plotutils png pnp python qt quicktime readline real recode samba sasl scanner sdl session slang slp snmp speex spell sqlite sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xface xfs xine xinerama xml xml2 xmms xpm xprint xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-09 02:20:51 UTC

*** This bug has been marked as a duplicate of 117770 ***