[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPM size

On Wed, Jul 17, 2002 at 10:31:52PM -0500, mike808 wrote:
> I prefer putting the size first, and sorting normally. The numbers get 
> formatted to a uniform width, so the package names line up prettier too.
> rpm -qa --queryformat '%{SIZE}\t%{NAME}-%{VERSION}-%{RELEASE}\n' | sort -n

I'll agree with the alignment being prettier, but...

> This means you don't have to scroll back to get what you're looking for, 
> namely, the largest packages.

I was assuming that you'd pipe the output to less, or maybe just head.

steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.