[HEADS-UP] systemd for F14 - the next steps

Lennart Poettering mzerqung at 0pointer.de
Thu Jul 22 23:46:02 UTC 2010


On Thu, 22.07.10 16:36, Horst H. von Brand (vonbrand at inf.utfsm.cl) wrote:

> 
> Lennart Poettering <mzerqung at 0pointer.de> wrote:
> 
> [...]
> 
> > Well, I think good UI means that you distuingish computer parsable and
> > human readable tools. "status" is human readable. "show"/"check" are
> > computer-parsable.
> 
> Mildly disagree. It is nice to be able to remember from people-use what the
> output looks like when computer-parsing it. It is nasty if you have to
> remember that foo(1)'s output is for human consumption, while scripts
> should use bar(8). People will just go ahead and use foo(1), while bitching
> all the time about its nasty format. Here find(1) shows a nice compromise:
> You can make it spit out stuff in computer-friendlier format, but the
> result is not _too_ far removed from its regular output.

Same with systemd. If you use "systemctl status foo.service" the output
is human readable. If it is "systemctl show foo.service" it is computer
parsable. Just a slightly different command of the systemctl tool.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list