coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout


From: Alejandro Colomar (man-pages)
Subject: Re: [PATCH] tee: Add -q, --quiet option to not write to stdout
Date: Thu, 21 Jan 2021 19:37:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

Hi Chris,

On 1/21/21 7:06 PM, Christian Groessler wrote:
> On 1/21/21 7:00 PM, Alejandro Colomar (man-pages) wrote:
>>
>> tee -q file
>>
>> is simple, is readable, ...
> 
> ... and incompatible to anything else.
> 
> All the examples you gave in your previous email work on (I'd say) 99%
> of *nix systems.
> 
> "tee -q" will only work on systems with coreutils installed.
> 
> Why do you want to become incompatible for a task which can be
> accomplished in compatible means?

Well, if this patch is accepted, I'd also try to patch other tees,
such as FreeBSD's.  If people see this as an improvement, they might
patch their tee.  Maybe POSIX will add some day -q if it's widespread
and useful.

Of course, it will still be incompatible with systems with old versions
of tee, but some day most systems might upgrade, and our sons may use
tee -q normally.  I have to work on systems with RHEL 5 (yes, 5) and
OSX, and of course I don't expect those to accept tee -q any soon, but
my best bet to see a decent alternative some day is to write it today.

That's how evolution works.  We simply can't predict it.
But we can try to help it.

Regards,

Alex

> 
> regards,
> chris
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]