From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 19:10:43 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76D7A1BE for ; Sun, 1 Mar 2015 19:10:43 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4D810832 for ; Sun, 1 Mar 2015 19:10:42 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C104193906 for ; Sun, 1 Mar 2015 19:10:41 +0000 (UTC) Message-ID: <54F36431.30506@freebsd.org> Date: Sun, 01 Mar 2015 14:10:41 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Massive libxo-zation that breaks everything References: <54F31510.7050607@hot.ee> <54F34B6E.2040809@astrodoggroup.com> <54F35F29.4000603@astrodoggroup.com> In-Reply-To: <54F35F29.4000603@astrodoggroup.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I1KuTN0BdWEfaLX6iffIWpnkSXKhuTUD" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2015 19:10:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5I1KuTN0BdWEfaLX6iffIWpnkSXKhuTUD Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-03-01 13:49, Harrison Grundy wrote: > Thanks! >=20 > That does seem useful, but I'm not sure I see the reasoning behind > putting into base, over a port or package, since processing XML in base= > is a pain, and it can't serve up JSON or HTML without additional > utilities anyway. >=20 > (If I'm reviving a long-settled thing, let me know and I'll drop it. I'= m > trying to understand the use case for this.) >=20 > --- Harrison >=20 > On 03/01/15 10:31, Craig Rodrigues wrote: >> On Sun, Mar 1, 2015 at 9:25 AM, Harrison Grundy < >> harrison.grundy@astrodoggroup.com> wrote: >> >>> >>> >>> If someone could summarize what this is, I'd greatly appreciate it. >>> >> >> https://lists.freebsd.org/pipermail/freebsd-arch/2014-July/015633.html= >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.= org" >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 I think you're missing the important bit here. This isn't about adding a parser for anything, this is about making the tools in base, like netstat, wc, uptime, etc, output in JSON or XML, so you can use the data programmatically. Your scripts no longer have to rely on awk/sed/grep magic to get a specific bit of information out of the uptime command, the command can just output the data in a structured machine readable format. I am not sure how you can put netstat into the ports tree. --=20 Allan Jude --5I1KuTN0BdWEfaLX6iffIWpnkSXKhuTUD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU82QzAAoJEJrBFpNRJZKfZPcQAJH1H90OdW2/RWkPtaxl9WvB TeKL3C5bFfR8bbXj934BPDQnkxgOmbTq8lk4G/mYgME5wYrH48Vm20W5KPAqNLas dPd4hExFfCdGLfP+OUwdkdbvJIeDZaU9nmNzBHM7q0LvtDqopvXuhZ62ycO1ywdq 9YT7pS+rSzz2TfuePeS0C/sCYRnnHT8rG4Wbyjd3iJlfD3VTafm/QUy/TJTrZyg4 U6+VUizlwNjCqz+HQID8zECfnh44Z6nGlNZsSyKDGlFLCr/7jvoxko1jEwROsP2d uSs0tHN9a85Xsl1uT9mY9L0f9K7+Y+8SqehYxMGFF/RxeFgJYZwaGUwrdd19EN4V w9HTYaIhPkAFovqk5M6z2MP0QjRmXu9EUNUPN8c2qE0nLUrHrqhDkaGAxi+qjmzd ZELY6dqUxuu7rIiKePDGnLMvx0URIUQ4aSjmr9ZV2OtZ2hL/5iQbp8b+OoJH+7LN 0yQIm6+Mwp+SWq6Z/aokBOED3AcbsVYSvDFGSCO9ZqHT19f6VUMfnhkc0+ZJPpjg +yud72e635I0wYNhX2MA7TZfsr1R+6aowFMCQFFDp9xCO38dAdvNc6/oX5o9lqWm q91yTYrVrdTrtabNDc6EkclRFLh9zTd+QbNIshlERceEbCRi4na5bzmxlCIZhjvW MD1ySR1au3xTXV3mJnIT =i9Qf -----END PGP SIGNATURE----- --5I1KuTN0BdWEfaLX6iffIWpnkSXKhuTUD--