[Popcon-commits] cvs commit to popularity-contest by pere
popcon-commits@lists.alioth.debian.org
popcon-commits@lists.alioth.debian.org
Sun, 19 Oct 2003 11:23:53 +0200
Update of /cvsroot/popcon/popularity-contest
In directory quantz:/tmp/cvs-serv15588
Added Files:
popcon-largest-unused
Log Message:
Add new program popcon-largest-unused. Script from Yann Dirson, manual page from Petter Reinholdtsen. (Closes: #127633)
--- NEW FILE: popcon-largest-unused ---
#!/bin/sh
#
# Author: Yann Dirson <dirson@debian.org>
# License: GPL
grep '<OLD>' /var/log/popularity-contest |
cut -d' ' -f3 |
xargs apt-cache -o 'APT::Cache::AllVersions=0' show |
grep -E '^(Package|Installed-Size): ' |
perl -ne 'if (/^Package: (.*)/) { $p = $1 }; if (/^Installed-Size: (.*)/) { print "$1 $p\n"; $p = 'BUG' }' |
sort -rn