Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2015 12:49:40 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        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:  <D182BEFD-9419-46F2-B5DC-22DB36A3EFC1@bsdimp.com>
In-Reply-To: <557F033A.1060006@FreeBSD.org>
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>

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

--Apple-Mail=_3B9757B2-3F82-4F7F-BDA9-E3CBCCCF15C9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


> On Jun 15, 2015, at 10:54 AM, Bryan Drewery <bdrewery@freebsd.org> =
wrote:
>=20
> On 6/14/15 3:17 AM, Garrett Cooper wrote:
>> On Jun 14, 2015, at 3:00, Slawa Olhovchenkov <slw@zxy.spb.ru>
>> wrote:
>>=20
>>> On Sat, Jun 13, 2015 at 05:13:31PM -0700, Craig Rodrigues wrote:
>>>=20
>>>> The people I talk to use scripting languages like Python or
>>>> Ruby, and devops frameworks like Ansible, Saltstack, Puppet,
>>>> and Chef. They may do some quick prototyping and UI work with
>>>> Javascript and HTML/CSS. Being able to generate JSON directly
>>>> from system-level tools, and then analyze that in a Python
>>>> script,
>>>=20
>>> You need JSON from system-level tools for analyze that in a
>>> Python script? Realy? Not plain text? or tab/space separated?
>>=20
>> Having written a bunch of tools that parse plaintext, it=92s a pain
>> in the rear. It=92s far easier to have JSON and a schema for working
>> with that JSON when developing tools to parse things out.
>>=20
>> Programmers are inherently lazy =97 the more we have to make them
>> work, the more pushback we=92re going to get from them as far as
>> integrating FreeBSD=92s concerned.
>>=20
>> Thanks!
>>=20
>=20
> For 'w' it makes sense, for 'ls' why? Most, all?, scripting languages
> have globbing and file listing functions already so there's no need to
> run /bin/ls and parse it.

I=92ve yet to see why ls =97libxo is better than a separate program =
articulated
anywhere other than "libxo all the things.=94 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.

Warner


--Apple-Mail=_3B9757B2-3F82-4F7F-BDA9-E3CBCCCF15C9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVfx5EAAoJEGwc0Sh9sBEAg5IP/0+9sySz7canFQSIlBBQtyWb
xazhjKCCyBmtRFCQkkYb+rzrakVvLCU0cmrvpJN4jQu8rWSjymRox4Por+w8LdFl
+iHltorPVqSl8FUWUuZP6O0jbjXNs8MgAuJK8OJ8ti21RMpqZb0WAC0u1Wa1uADH
A1yJeiRREQ+TF2UTwj7WesRqXeOFiI7mURa+orxSMf4xIarO4jOy4AyvSKb8h7LT
3OYeoS4nrXb7qkqVUj2aOSqgxmd/TnUAzMzElNeBaB5GYWfDlmMfLCHr3G0xhSqF
5pZ410PGe66K8oojSNgy8ufus0gjMMaVqFD6i8AuZmucQGXa+0bV0QvCWePL0zMU
oyCta9TayxB7GYTrMH8t1ahkx1mKFGHHQUQeIjgZylBW06C7H52k0o0Nnkqe41k6
1fgVIo80Cj0v6g/VfuSUeAqLZLQOcRgx67xBYF2NuIxLEbzSwvcQiNGQSj6zOUuA
98zYwQOjI2mBIKzIzzTG9JSqrMok45pua4wOQlAUNMhyS81kcH9rTLzBSGJ+IWoB
CszxwnNDO6fEX3ZtPa3s4VSrnBuU02GGgaa5xZp+xrQ61ApZSnsLN93LuMvDTWMG
eidODvvVxCJ2IPPnsBSJSCvVRWLx8jsWrA/1EZWu6GwOtR/jxVM/8Clb1jOLep25
u02QgcMO9MsQT/5WtPE4
=3BHr
-----END PGP SIGNATURE-----

--Apple-Mail=_3B9757B2-3F82-4F7F-BDA9-E3CBCCCF15C9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D182BEFD-9419-46F2-B5DC-22DB36A3EFC1>