On Thu, Jan 21, 2021 at 11:06 AM Christian Groessler <ch...@groessler.org> 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?
Because usually when I have this problem, I'm typing a command directly into the shell, or writing a script for my own personal use. `tee -q` would save me quite a bit of typing. That said, I would love to see `tee -q` added to a future revision of POSIX and adopted everywhere. -Alex