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

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

 



On Thu, Jul 22, 2010 at 01:39:06PM -0800, Jeff Spaleta wrote:
> On Thu, Jul 22, 2010 at 12:17 PM, Horst H. von Brand
> <vonbrand@xxxxxxxxxxxx> wrote:
> > Great to know about that. And yes, it  is extremely relevant for a sysadmin
> > to know how to tickle the system so it spits out awk(1)-able logs and stuff.
> 
> 
> Hmm... can these tools learn to prefer a certain format when they are
> piped into another program and then prefer a different format when
> they are just outputting to an active console. And then the preferred
> behaviour can be overridden when specific commandline arguments are
> present?  Don't other tools exhibit this sort of functionality?
> 
> foo show | awk    would assume one line awkable output
> foo show            would assume human readable
> foo show -1         would force one line awkable output
> foo show -v | awk         would force human readable into awk
> 
> or some such.
> 
Please don't.

/me thinks of python-2.x which treats printing utf8 different when it goes
to the console vs being redirected.

-Toshio

Attachment: pgpVrurSn9Olh.pgp
Description: PGP signature

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