Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2015 14:10:41 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Massive libxo-zation that breaks everything
Message-ID:  <54F36431.30506@freebsd.org>
In-Reply-To: <54F35F29.4000603@astrodoggroup.com>
References:  <54F31510.7050607@hot.ee>	<54F34B6E.2040809@astrodoggroup.com> <CAG=rPVfcB1Fy_8mHq-t5Ay07yrzuSGthQ0ZcGzvp0XG9gSSzkg@mail.gmail.com> <54F35F29.4000603@astrodoggroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F36431.30506>