From owner-svn-src-all@FreeBSD.ORG Mon Jun 15 16:54:23 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 DCDFCCE8; Mon, 15 Jun 2015 16:54:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A50BD179; Mon, 15 Jun 2015 16:54:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t5FGsM1p019055; Mon, 15 Jun 2015 16:54:22 GMT (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 6882399CC; Mon, 15 Jun 2015 16:54:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id vO2fOXfHpIiK; Mon, 15 Jun 2015 16:54:19 +0000 (UTC) Message-ID: <557F033A.1060006@FreeBSD.org> DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 2F30199C9 Date: Mon, 15 Jun 2015 09:54:18 -0700 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Garrett Cooper , Slawa Olhovchenkov CC: Craig Rodrigues , Marcel Moolenaar , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , Marcel Moolenaar , "src-committers@freebsd.org" Subject: Re: svn commit: r284198 - head/bin/ls 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> In-Reply-To: <45B665F4-B81F-439B-89DC-6D27BA96F87D@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 16:54:24 -0000 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 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. --=20 Regards, Bryan Drewery