[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not wri
From: |
Theo de Raadt |
Subject: |
Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout |
Date: |
Sun, 24 Jan 2021 10:58:28 -0700 |
Otto Moerbeek <otto@drijf.net> wrote:
> On Sun, Jan 24, 2021 at 01:18:46PM +0100, Alejandro Colomar wrote:
>
> > This is useful for using tee to just write to a file,
> > at the end of a pipeline,
> > without having to redirect to /dev/null
> >
> > Example:
> >
> > echo 'foo' | sudo tee -q /etc/foo;
> >
> > is equivalent to the old (and ugly)
>
> You keep repeating "ugly" as the reason you are wanting this.
>
> I consider adding special options to command to solve an imagined
> issue that can be solved with a general concept like redirection ugly.
> Please stop pushing your diff to this list. So far nobody showed any
> interest.
I also see ZERO reason for this change.
This change will encourage the creation of non-portable scripts, which
harms backwards compatibility and portability, while increasing the
cognitive cost of building software in a simple and useable command
ecosystem.
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, (continued)
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Bernhard Voelker, 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/21
- [PATCH v2] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar, 2021/01/21
- Re: [PATCH v2] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/22
- [PATCH] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar, 2021/01/23
- [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Teran McKinney, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Otto Moerbeek, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout,
Theo de Raadt <=
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alex Henrie, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Otto Moerbeek, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Bernhard Voelker, 2021/01/24
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/25
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alejandro Colomar (man-pages), 2021/01/26
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Rodney W. Grimes, 2021/01/26
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, L A Walsh, 2021/01/26
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Christian Groessler, 2021/01/27
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, L A Walsh, 2021/01/27
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Fabrice BAUZAC-STEHLY, 2021/01/29