# etcat -f bonnie++ Traceback (most recent call last): File "/usr/bin/etcat", line 1105, in ? main() File "/usr/bin/etcat", line 1101, in main function(query) File "/usr/bin/etcat", line 988, in files matches = search(tup[1]) File "/usr/bin/etcat", line 298, in search if re.search(search_key.lower(), package_parts[1].lower()): File "/usr/lib/python2.2/sre.py", line 137, in search return _compile(pattern, flags).search(string) File "/usr/lib/python2.2/sre.py", line 229, in _compile raise error, v # invalid expression sre_constants.error: multiple repeat $ emerge info Portage 2.0.49-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5-bk4) ================================================================= System uname: 2.6.0-test5-bk4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz distcc 2.7.1 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.caliu.info/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 oss avi cups encode foomaticdb gif java jpeg mad mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa berkdb slang readline tetex aalib svga tcltk mysql X sdl gpm tcpd pam libwww perl python imlib oggvorbis gtk motif opengl cdr acpi acpi4linux apache2 dvd faad fbcon gtk2 imap maildir nptl openal sse tiff usb xml -apm -crypt -kde -libg++ -mikmod -nls -spell -gtkhtml -gdbm -arts -bonobo -guile -ssl -esd -gnome -qt"
hrmm .. looks like it doesn't like "+" because it isn't regex. i'm tempted not to fix it but output a warning. because i often use the fact that it accepts regex rather than just normal search strings.
Whatever you feel best. Just letting you know. That traceback error looks horrid. :)
Same for `etcat -f mysql++`.
Use etcat -f bonnie\\+\\+ or etcat -f mysql\\+\\+ respectively instead, to escape the +. But why does it brake anyways?
on my system with gentoolkit 0.2.0_pre8 there is no problem. etcat -v mysql++ [ Results for search key : mysql++ ] [ Candidate applications found : 7 ] Only printing found installed programs. * dev-db/mysql++ : [M~ ] 1.7.9 (0) [ ] 1.7.9-r1 (0) [ ] 1.7.9-r2 (0) [ ] 1.7.9-r3 (0) [M~ ] 1.7.9-r4 (0) [M~ ] 1.7.9-r5 (0) [M~ ] 1.7.9-r6 (0) plese close the bug.
I'm with 0.2.0-pre8... -c (changes) option breaks on '+'.
old and etcat is obsoleted