[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: foo | tee /dev/stderr | bar # << thanks!
From: |
Greg Wooledge |
Subject: |
Re: foo | tee /dev/stderr | bar # << thanks! |
Date: |
Mon, 6 Jul 2020 08:30:39 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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.