-
Notifications
You must be signed in to change notification settings - Fork 3
Description
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590089
It would be nice if wajig would do what it says on
the tin: wajig list-commands says:
search Search for packages containing listed words
which is not quite what apt-cache search does. If it also ran
apt-search depends and apt-search rdepends it would get a broader
answer.
As I commented in bug# 589108, this seems to be wajig’s territory,
whereas the more precise nature of the various apt-cache sub-commands
is more suited to that tool.
In short, please implement
$ wajig search foo
as:
wajig search foo
wajig depends foo
wajig rdepends foo
It would be nice if you could print out the short package descriptions
for the latter two commands, essentially by piping their output through:
dpkg-query -W --showformat='${Package} - ${Description}\n' | head -1
as there appears to be no way just to get the short description: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427945
but also the output of apt-cache {,r}depends would need to be filtered
slightly. (I’d be happy to work out the details if the general idea of
this bug is accepted, it’s just a bit more use of cut and tail!)