on Tue, Aug 21, 2001 at 11:16:26PM +0100, P Kirk (patrick@enterprise-hr.com) wrote: > Karsten, what can I say...thanks. Um... "you goofed the script"? Fixed version is attached, I posted an error to list just a minute ago, but missed my comment '#' installed during testing. I'm seeing this one all the way through....should work this time. The script takes a few minutes (5-10) to run. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
#!/bin/sh
PATH=/bin:/usr/bin
time dpkg --get-selections |
grep ' install' |
awk '{print $1}' |
xargs -n 1 dpkg -s |
egrep '^(Package|Installed-Size):' |
awk '{printf( "%s: ", $2 ); getline; printf( "%s\n", $2 )}' |
sort -k2nr |
cat -n
Attachment:
pgpym_h7y4rkI.pgp
Description: PGP signature