$ apt-cache --names-only search apm | grep sleepd sleepd - puts an inactive or low battery laptop to sleep
Am I right that, according to man apt-cache, mentioning sleepd is a bug? $ man apt-cache | grep -A20 ' search regex' | head search regex [ regex ... ] search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the package names and the descriptions for an occurrence of the regular expression and prints out the package name and the short description, including virtual package names. If --full is given then output identical to show is produced for each matched package, and if --names-only is given then the long description is not searched, only the package name is. $ dpkg -S /usr/bin/apt-cache apt: /usr/bin/apt-cache $ dpkg -l apt ii apt 0.8.14.1 Advanced front-end for dpkg -- 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/289306.2287...@web120706.mail.ne1.yahoo.com