bin/81625: "sort by size" option for ls(1)

Dima Dorfman dd at freebsd.org
Wed Jun 1 04:40:20 PDT 2005


Suporte Matik <asstec at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20050601/560f8e68/attachment.bin


More information about the freebsd-bugs mailing list