Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 13:18:14 +0100
From:      Bruce Simpson <bms@fastmail.net>
To:        Warner Losh <imp@bsdimp.com>, Bryan Drewery <bdrewery@freebsd.org>
Cc:        Garrett Cooper <yaneurabeya@gmail.com>,  Slawa Olhovchenkov <slw@zxy.spb.ru>, Craig Rodrigues <rodrigc@FreeBSD.org>,  Marcel Moolenaar <marcel@xcllnt.net>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r284198 - head/bin/ls
Message-ID:  <55801406.5060202@fastmail.net>
In-Reply-To: <D182BEFD-9419-46F2-B5DC-22DB36A3EFC1@bsdimp.com>
References:  <201506100127.t5A1RdX6051959@svn.freebsd.org> <20150612204309.11dd3391@kan> <20150613024916.GA98218@troutmask.apl.washington.edu> <1434208622.1415.57.camel@freebsd.org> <C88CB169-12FE-4692-92AA-5C7D41BB61DF@FreeBSD.org> <557C661F.8080104@freebsd.org> <860017ED-D754-450C-865D-2D81A30C2212@xcllnt.net> <CAG=rPVd93Q18aYnSGSf_QH4C08RCq5wsdKQSNYTgWQ2huTbUHQ@mail.gmail.com> <20150614100045.GF58397@zxy.spb.ru> <45B665F4-B81F-439B-89DC-6D27BA96F87D@gmail.com> <557F033A.1060006@FreeBSD.org> <D182BEFD-9419-46F2-B5DC-22DB36A3EFC1@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15/06/2015 19:49, Warner Losh wrote:
> I’ve yet to see why ls —libxo is better than a separate program articulated
> anywhere other than "libxo all the things.” Having a clear statement about
> why it is needed, why changing it vs having a separate program, etc would
> help. But is seems overly gratuitous with little benefit.

+1, I don't see how libxo-ized ls(1) adds value.

e.g. in Python, one can use pathlib and scandir to walk arbitrarily wide 
and deep hierarchies, much as 'file ... | xargs foo'.

It has even (with hard work by koobs) supported FreeBSD's stat.st_flags 
since 2.3. So anything ls(1) can do, Python could do anyway.



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