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


Groups > gnu.bash.bug > #16545

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

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: foo | tee /dev/stderr | bar # << thanks!
Date 2020-07-06 08:30 -0400
Message-ID <mailman.1050.1594038644.2574.bug-bash@gnu.org> (permalink)
References (1 earlier) <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>

Show all headers | 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