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


Groups > gnu.bash.bug > #16544

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

From Ilkka Virta <itvirta@iki.fi>
Newsgroups gnu.bash.bug
Subject Re: foo | tee /dev/stderr | bar # << thanks!
Date 2020-07-06 15:03 +0300
Message-ID <mailman.1049.1594037002.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>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: foo | tee /dev/stderr | bar # << thanks! Ilkka Virta <itvirta@iki.fi> - 2020-07-06 15:03 +0300

csiph-web