On 6/26/2010 6:58 PM, Aaron Toponce wrote: > On 6/26/2010 6:55 PM, Aaron Toponce wrote: >> On 6/26/2010 5:57 PM, giovanni_re wrote: >>> Is there a way to mashup "apt-cache search <SearchTerm>" & "dpkg -l" >>> - so that given a SearchTerm, >>> it would find all the related package names in the cache, >>> then do a "dpkg -l" on those package names? >> >> dpkg -l $(apt-search iceweasel|grep ^i|awk '{print $2}'|tr '\n' ' ') > > Actually, looking at that command, I'm sure I could combine the grep, > awk and tr in a single awk command. This was just "quick and dirty". Of > course, replace 'iceweasel' with the package(s) you are searching for.
And, I just noticed I used one of my apt aliases. alias apt-search="aptitude search" Cheers! -- . O . O . O . . O O . . . O . . . O . O O O . O . O O . . O O O O . O . . O O O O . O O O
signature.asc
Description: OpenPGP digital signature