Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2012 11:28:03 +0200
From:      Marc Balmer <marc@msys.ch>
To:        freebsd-hackers@freebsd.org
Subject:   Re: gpart is junk
Message-ID:  <5066BF23.4080208@msys.ch>
In-Reply-To: <50656e8f.f/4dx/p/u62ESXYsxmAoqZ5R@dietcurd.wild-life.local>
References:  <20120916120041.391C41065680@hub.freebsd.org> <505624A9.7040508@hesiod.org> <CAFHbX1KjLHCHste9H4sV_kwxWT25uRHo%2BoLeL3R4xev=oR8LaQ@mail.gmail.com> <Pine.GSO.4.64.1209170852200.17927@sea.ntplx.net> <BAY167-W132A828DEE55B76CE0C343AED9C0@phx.gbl> <Pine.GSO.4.64.1209270942000.4511@sea.ntplx.net> <CAFHbX1%2BbOutXSwHbkePF11Rz7=fWD_iDpEReCqqyx7W=1u4UnQ@mail.gmail.com> <alpine.BSF.2.00.1209280918450.4005@wojtek.tensor.gdynia.pl> <50656e8f.f/4dx/p/u62ESXYsxmAoqZ5R@dietcurd.wild-life.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 28.09.12 11:31, schrieb Steffen Daode Nurpmeso:
> Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> wrote:
> 
>  |>> but still not anywhere as readable as bsdlabel.
>  |>>
>  |>
>  |> I did specifically say 'machine readable'. The XML is well-formed,
>  |XML is stupid. everything you can do with XML can be better described 
>  |using "ancient" style text format
> 
> Or, if all fails, YAML-is-JSON, which is much easier and cheaper
> to parse (than ML), but still a well-defined standard and, in
> comparison, human readable.

These days I use Lua with its nice table-definition syntax for config
files in many programs.  Of course sandboxed, and with most functions
turned off in the sandbox.  The files are very readable, but of course
you pay the price on including the Lua interpreter (although it's small).





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5066BF23.4080208>