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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 22.07.10 16:36, Horst H. von Brand (vonbrand@xxxxxxxxxxxx) wrote:

> 
> Lennart Poettering <mzerqung@xxxxxxxxxxx> 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.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux