How to query package size

Mauricio Teixeira (netmask) netmask at webset.net
Mon Nov 14 04:38:09 PST 2005


Em Sex, 2005-11-11 às 21:27 +0100, René Matthäi escreveu:

> how can I search or query for packages that, say, have "ftp" in their 

Well, "smart info *ftp*" will show info for all packages that have "ftp"
on the NAME. If you want to search on the description, you could try:

smart search ftp | grep -v "..." | awk -F' - ' '{print $1}' | xargs
smart info | egrep "Name|Size"

(Very) Ugly but works... :)

-- 
% Mauricio Teixeira (netmask)
% mteixeira{a}webset{d}net <> Maceio/AL/BR
% TI+Telecom Analyst <> Linux Specialist
% http://mteixeira.webset.net <> http://pmping.sf.net
% [D0CE 6BD4 526B B7D1 6F4E  85FA A7A0 1A6F B23A A9EE]




More information about the Smart mailing list