[parted-devel] DISCUSS: Script-friendly interface

leslie.polzer at gmx.net leslie.polzer at gmx.net
Thu Jun 22 09:06:47 UTC 2006


On Mon, Jun 19, 2006 at 05:34:25PM +0800, Anant Narayanan wrote:

> The down side of this is that XML is generally considered to be an
> overkill for this kind of stuff,
Also by me...

> and everyone generally prefers a pre-formatted text file.
Especially shell scripts, which are the target audience for this stuff.

> /me Shouts :)
How will you spare the time?  You must drown in all the workload...

> Like I said before I was thinking of a set of commands that mirror
> all commands available to users of the parted frontend. Better still
> (and easier to implement) would be to add and optional argument
> `machine' to every command, which when used outputs machine parse-able
> information instead of the usual human-readable messages.
Why is this better than, say, a command-line switch?

  Cheers,

    Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060622/ae75df60/attachment.pgp


More information about the parted-devel mailing list