svn commit: r284198 - head/bin/ls

Bruce Simpson bms at fastmail.net
Tue Jun 16 12:18:23 UTC 2015


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.


More information about the svn-src-head mailing list