Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Ilkka Virta Newsgroups: gnu.bash.bug Subject: Re: foo | tee /dev/stderr | bar # << thanks! Date: Mon, 6 Jul 2020 15:03:15 +0300 Lines: 13 Approved: bug-bash@gnu.org Message-ID: References: <202007031432.063EWIhD3254754@epjdn.zq3q.org> <936693AC-5B43-4A84-A993-BCA6142AA381@larryv.me> <202007041842.064Ig08v3769297@epjdn.zq3q.org> <20200706113732.GT22833@eeg.ccf.org> <374bad5b-9d5a-da84-620d-5a9292aae475@iki.fi> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1594037003 7588 209.51.188.17 (6 Jul 2020 12:03:23 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: <20200706113732.GT22833@eeg.ccf.org> Content-Language: en-US X-SASI-RCODE: 200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; h=subject:to:references:from:message-id:date:mime-version:in-reply-to:content-type:content-transfer-encoding; s=smtp; bh=JO76IMbMeVRadXaDn0EOo6eXeF00rtFuB0BND6fKe+4=; b=k1AQ07dtlkJYJoQ7f4l2dC+gQMc+Xfg2vekJ0uXOnPSdExOaHPW1jZGMiXajKqyV6zjGoRVCoqgMPPQc6tOaOsixxRlwVF3Rix3ET44yTXLvBdcEjxLnJJTRNK5wTWigXnc0YANiX5fxizAuxi//AyUqSDOvvpHypVRXLTZb2nG8A3sLu/8rszkpcNHNBtpPloTLkH8RhsE4FQsAnmLda1px7IB2Rn7GZPYpXwxeS9NuDgBvvDVtqO/1gd0mraDE9UhEOn9500NpZay4FSh6wm3132QbYk7xocyyIwFRSkyNHlATOSTZDKBHcyAHynCOQn9qfApWiOdd+UcioVsDaA== Received-SPF: neutral client-ip=157.24.2.213; envelope-from=itvirta@iki.fi; helo=smtp-in-1.cc.lut.fi X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 08:03:04 X-ACL-Warn: Detected OS = FreeBSD 8.x X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <374bad5b-9d5a-da84-620d-5a9292aae475@iki.fi> X-Mailman-Original-References: <202007031432.063EWIhD3254754@epjdn.zq3q.org> <936693AC-5B43-4A84-A993-BCA6142AA381@larryv.me> <202007041842.064Ig08v3769297@epjdn.zq3q.org> <20200706113732.GT22833@eeg.ccf.org> Xref: csiph.com gnu.bash.bug:16544 On 6.7. 14:37, Greg Wooledge wrote: > On Sat, Jul 04, 2020 at 01:42:00PM -0500, bug-bash@trodman.com wrote: >> but your soln is simplier. I assume /dev/stderr is on non linux UNIX >> also. > > It is *not*. It is not portable at all. It works on macOS and I see mentions of it in man pages of the various *BSD:s and Solaris, so even if not standard, it's not like it's Linux-only. -- Ilkka Virta / itvirta@iki.fi