Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16545

Re: foo | tee /dev/stderr | bar # << thanks!

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: foo | tee /dev/stderr | bar # << thanks!
Date Mon, 6 Jul 2020 08:30:39 -0400
Lines 14
Approved bug-bash@gnu.org
Message-ID <mailman.1050.1594038644.2574.bug-bash@gnu.org> (permalink)
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> <20200706123039.GY22833@eeg.ccf.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1594038645 8894 209.51.188.17 (6 Jul 2020 12:30:45 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
Mail-Followup-To bug-bash@gnu.org
Content-Disposition inline
In-Reply-To <374bad5b-9d5a-da84-620d-5a9292aae475@iki.fi>
User-Agent Mutt/1.10.1 (2018-07-13)
Received-SPF none client-ip=139.137.100.1; envelope-from=wooledg@eeg.ccf.org; helo=mail.eeg.ccf.org
X-detected-operating-system by eggs.gnu.org: First seen = 2020/07/06 07:37:33
X-ACL-Warn Detected OS = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int -8
X-Spam_score -0.9
X-Spam_bar /
X-Spam_report (-0.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=1, SPF_HELO_NONE=0.001, SPF_NONE=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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200706123039.GY22833@eeg.ccf.org>
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> <374bad5b-9d5a-da84-620d-5a9292aae475@iki.fi>
Xref csiph.com gnu.bash.bug:16545

Show key headers only | View raw


On Mon, Jul 06, 2020 at 03:03:15PM +0300, Ilkka Virta wrote:
> 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.

Yes, it's present in Linuxes and (most?) BSDs.  But not in commercial
Unixes.

Back to gnu.bash.bug | Previous | NextNext in thread | Find similar


Thread

Re: foo | tee /dev/stderr | bar # << thanks! Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-06 08:30 -0400
  Re: foo | tee /dev/stderr | bar # << thanks! arnold@skeeve.com (Aharon Robbins) - 2020-07-06 19:21 +0000

csiph-web