[Scottish] RPM sizes

willie fleming scottish at mailman.lug.org.uk
Thu Dec 5 21:38:01 2002


On Thursday 05 December 2002 17:58, Paul Millar phootered with my photons=
=20
thusly
> c=3D0;rpm -qai|egrep '^Size +:|^Name +:'|awk '{print $3}'| while read f=
; do
> if [ $c -eq 1 ]; then echo $f $name; c=3D0; else name=3D$f; c=3D1; fi; =
done|sort
> -n

Paul, stick it in as a news item and we'll pester Kenny to put it in the =
right=20
place :-)



--=20
Best Regards
Willie Fleming
willie@itscotland.demon.co.uk