Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 15:00:13 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/bin/ls ls.1 ls.c
Message-ID:  <200603241500.16398.jhb@freebsd.org>
In-Reply-To: <20060324195305.GA64211@ip.net.ua>
References:  <200603241709.k2OH93Hl003691@repoman.freebsd.org> <20060324195305.GA64211@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 24 March 2006 14:53, Ruslan Ermilov wrote:
> On Fri, Mar 24, 2006 at 05:09:03PM +0000, John Baldwin wrote:
> > jhb         2006-03-24 17:09:03 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     bin/ls               ls.1 ls.c 
> >   Log:
> >   Change the -S and -t options to override each other so that the last one
> >   specified wins to make their interaction less confusing.
> >   
> >   Revision  Changes    Path
> >   1.98      +7 -0      src/bin/ls/ls.1
> >   1.85      +3 -0      src/bin/ls/ls.c
> > 
> We should grow the enum that indicates the sorting wanted, and
> have only one variable for sorting method, and remove all this
> crap that resets "all other sorting flags" to zeroes.  ;)

Yes, one could do that. :)  There should be an enum for the type of
timestamp to use, and another one for the type of sorting algo. :)

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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