On Sat, 12 Mar 2011 20:09:29 +0000, Dom wrote: > On 12/03/11 19:25, Camaleón wrote:
(...) >> So indeed, only package name should be queried in the regex which does >> not seem to be the case. I also get false positives, for example: >> >> sm01@stt008:~$ apt-cache --names-only search "^a" | grep sleepd sleepd >> - puts an inactive or low battery laptop to sleep >> >> But here, even the source package is named "sleepd", why the regex is >> catching this? A bug? :-? > > I suspect the man page is a bit ambiguous. It looks like --names-only > searches on things other than package name, but not the long > description. Possibly matching on "Provides: apm-sleep" That's it! WISHLIST: apt-cache search and Provides: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98695 The manual page should be then updated accordingly to reflect the current status of the "--names-only" argument :-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.03.12.21.06...@gmail.com