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