Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 09:07:01 +0200
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        Bill Hamilton <billh@finsco.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: alternate file listing
Message-ID:  <19981020090701.A9920@sr.se>
In-Reply-To: <362BB8A2.B27F615E@finsco.com>; from Bill Hamilton on Mon, Oct 19, 1998 at 05:09:38PM -0500
References:  <362B3923.2534A16A@graphnet.com> <362C58C1.B4D1367@pc.jaring.my> <362BB8A2.B27F615E@finsco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 19, 1998 at 05:09:38PM -0500, Bill Hamilton wrote:
> like what directories?
> ls -lR | sort -k 5
> will sort on on size from "." down. (at least on Solaris)

That won't work well on neither FreeBSD nor Solaris. You get a sort, not
in filesize order, but on the first, second and son on digigt. At least
on the two different machines I checked.

-- 
                           __o
regards, Gunnar       ---_ \<,_
email: flygt@sr.se ---- (_)/ (_)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981020090701.A9920>