Package: aptitude
Version: 0.4.11.11-1
Severity: normal

Please create a search shorthand that has the semantics of the search
functionality in apt-cache. Empirically, it seems that the following is true:

"apt-cache search kde camera" is equivalent to the following:
"aptitude search '(~nkde|~dkde)(~ncamera|~ncamera)'"

The aptitude form is much longer while the semantics of this type of search
are very useful. In the above example, I am looking for any packages that have
the words kde or camera in the name or description. It would be really nice to
have a nice and simple shorthand to do this kind of search with aptitude.
Maybe the following syntax would work:

aptitude cache-search kde camera

Or maybe a new ~ search pattern should be introduced.

I find myself using apt-cache to do searches even though I like the aptitude
search output much better.

Thanks for your consideration of this request,
wt

-- Package-specific info:
aptitude 0.4.11.11 compiled at Nov 20 2008 05:11:32
Compiler: g++ 4.3.2
Compiled against:
  apt version 4.6.0
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20090228
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-vdso.so.1 =>  (0x00007fff6f3ff000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0x00007f8f66ed3000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f8f66c88000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f8f66a83000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f8f667b0000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007f8f66537000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f8f661cb000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f8f65fb4000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8f65d99000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8f65a8d000)
        libm.so.6 => /lib/libm.so.6 (0x00007f8f6580a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f8f655f3000)
        libc.so.6 => /lib/libc.so.6 (0x00007f8f652a0000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007f8f6509d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f8f64e99000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8f67194000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.20.2          Advanced front-end for dpkg
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-4          high-level terminal interface libr
ii  libept0                0.5.26            High-level library for managing De
ii  libgcc1                1:4.3.3-5         GCC support library
ii  libncursesw5           5.7+20090228-1    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.3.3-5           The GNU Standard C++ Library v3
ii  libxapian15            1.0.10-2          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
ii  tasksel                       2.78       Tool for selecting tasks for insta

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to