Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 11:40:08 +0000
From:      Dima Dorfman <dd@freebsd.org>
To:        Suporte Matik <asstec@matik.com.br>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: bin/81625: "sort by size" option for ls(1)
Message-ID:  <20050601114008.GB785@trit.org>
In-Reply-To: <200506010837.20588.asstec@matik.com.br>
References:  <200506011130.j51BU7W8049701@freefall.freebsd.org> <200506010837.20588.asstec@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Suporte Matik <asstec@matik.com.br> wrote:
> On Wednesday 01 June 2005 08:30, Dima Dorfman wrote: 
> >
> >  -S is okay. OpenBSD and NetBSD use it for the same thing, except
> > that their default is to sort the largest files first.
> >
> >       -S      Sort by size, largest file first.
> >
> 
> may be you consider -S[+|-]or something like that to toggle sortorder?

The -r option reverses the sort regardless of the key. I'm only
talking about what the default should be. OpenBSD and NetBSD default
to listing the largest file first.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iD8DBQFCnZ6YBzAFW2n65YIRAotUAKCQACi/xRSpYsJBEosWq49UhNSwKACbBGOK
2YuoJs6firkk92M/4WJJXIQ=
=+JoX
-----END PGP SIGNATURE-----

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