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: Bernhard Voelker
Subject: Re: [PATCH] tee: Add -q, --quiet option to not write to stdout
Date: Thu, 21 Jan 2021 22:01:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/21/21 7:39 PM, Alex Henrie wrote:
> That said, I would love to see `tee -q` added to a future revision of
> POSIX and adopted everywhere.

I like the idea.
We have been living for decades without a terminating "pipe end piece",
so why hurrying a new option into an implementation of 'tee'?
Instead, this could be discussed thoroughly and specified by the OpenGroup
and nailed down in a new POSIX issue, and then all implementations
could adopt it consistently.
Are you willing to start the discussion there?

BTW: --quiet is usually used to avoid outputting of informational
messages (e.g. wget, head, tail, md5sum), while 'tee' would change
its functional behavior.
Maybe --drain, --drain-stdout, --discard-stdout (-d), --no-stdout (-n),
--elide-stdout (-e) or something similar would be more appropriate?

Have a nice day,
Berny



reply via email to

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