From owner-svn-src-all@FreeBSD.ORG Mon Jun 15 18:49:45 2015 Return-Path: Delivered-To: svn-src-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 834C8188 for ; Mon, 15 Jun 2015 18:49:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46DA61D0 for ; Mon, 15 Jun 2015 18:49:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by iebmu5 with SMTP id mu5so68746584ieb.1 for ; Mon, 15 Jun 2015 11:49:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=ziLr7bf9CEdNXpOzrWIA7IHF1YMXlim9Sb1QXrsYMKs=; b=ADf9UvtlxzXIod/ngG64QKHAkBqwmnM/jCDSl6500FA0DnUva1KNiwI6/SpqIzgWem aNONuHpInXaL8QRJByNQQIjLPZQKNZ655v8v2ikn8xx92BP/50B6mHvyVtOMeZ2BUo35 stb2vTzFx0DDJMkeI1FMmAenBK4doK8JzWYlsuOySzJs0vfFzXjpEzs//ljIa1hsTcyL rpQjgRhT9WLaUjOfKB0EBWl4CsIVnq+BR2S/XLzLzPakhRTngaQb3JZjqim/d+/OLNa2 JhBy4uPpLEPvz6gXnGKTOgu2Ijd8arlkrVv4O966CPOd/w6zxfmhH58ZMvSccGkTSmVD seZA== X-Gm-Message-State: ALoCoQlbGZgNLLMFWnfjG4gh2f7dybJJaRqihDY10pnErC5p2ZNVICJje0AdiGLW1LWspUPG/+6a X-Received: by 10.50.78.199 with SMTP id d7mr23058414igx.18.1434394184293; Mon, 15 Jun 2015 11:49:44 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id c20sm9415751ioc.40.2015.06.15.11.49.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jun 2015 11:49:43 -0700 (PDT) Sender: Warner Losh Subject: Re: svn commit: r284198 - head/bin/ls Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_3B9757B2-3F82-4F7F-BDA9-E3CBCCCF15C9"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: <557F033A.1060006@FreeBSD.org> Date: Mon, 15 Jun 2015 12:49:40 -0600 Cc: Garrett Cooper , Slawa Olhovchenkov , Craig Rodrigues , Marcel Moolenaar , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , Marcel Moolenaar , "src-committers@freebsd.org" Message-Id: References: <201506100127.t5A1RdX6051959@svn.freebsd.org> <20150612204309.11dd3391@kan> <20150613024916.GA98218@troutmask.apl.washington.edu> <1434208622.1415.57.camel@freebsd.org> <557C661F.8080104@freebsd.org> <860017ED-D754-450C-865D-2D81A30C2212@xcllnt.net> <20150614100045.GF58397@zxy.spb.ru> <45B665F4-B81F-439B-89DC-6D27BA96F87D@gmail.com> <557F033A.1060006@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.2098) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 18:49:45 -0000 --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 = wrote: >=20 > On 6/14/15 3:17 AM, Garrett Cooper wrote: >> On Jun 14, 2015, at 3:00, Slawa Olhovchenkov >> 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--