Date: Sun, 24 Jan 2021 10:58:28 -0700 From: "Theo de Raadt" <deraadt@openbsd.org> To: Otto Moerbeek <otto@drijf.net> Cc: Alejandro Colomar <alx.manpages@gmail.com>, Bernhard Voelker <mail@bernhard-voelker.de>, Alex Henrie <alexhenrie24@gmail.com>, Christian Groessler <chris@groessler.org>, =?iso-8859-1?Q?P=E1draig?= Brady <P@draigbrady.com>, Coreutils <coreutils@gnu.org>, William Ahern <william@25thandclement.com>, Erik Auerswald <auerswal@unix-ag.uni-kl.de>, Eric Pruitt <eric.pruitt@gmail.com>, Jeffrey Walton <noloader@gmail.com>, Michael Kerrisk <mtk.manpages@gmail.com>, Fabrice BAUZAC <noon@mykolab.com>, tech@openbsd.org, freebsd-hackers@freebsd.org, linux-api@vger.kernel.org, juli@clockworksquid.com, ed@nuxi.nl, oshogbo@freebsd.org Subject: Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout Message-ID: <80701.1611511108@cvs.openbsd.org> In-Reply-To: <YA2ztHUATu1gOxoV@clue.drijf.net> References: <1f8ce444-35e2-56a7-dbd1-34e885372b11@gmail.com> <20210124121845.38293-1-alx.manpages@gmail.com> <YA2ztHUATu1gOxoV@clue.drijf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80701.1611511108>