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

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

 



Lennart Poettering <mzerqung@xxxxxxxxxxx> wrote:
> 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.

Better make that a --parseable (or -C, or --format=<gibberish>) flag for
the _same_ (sub)command. Look at rpm or git for examples ;-)
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile 2340000       Fax:  +56 32 2797513

-- 
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