bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: bug-bash
Subject: Re: foo | tee /dev/stderr | bar # << thanks!
Date: Sat, 04 Jul 2020 13:42:00 -0500

Hi Lawrence:

On Fri 7/3/20 14:03 -0400 =?utf-8?Q?Lawrence_Vel=C3=A1zquez?= wrote:
>What's wrong with `foo | tee /dev/stderr | bar`?

Perfect!

This morning I had thought of

    foo | tee >(cat >&2) | bar

but your soln is simplier.  I assume /dev/stderr is on non linux UNIX
also.

--
thanks-you!,
Tom
--
$ seq 5 | tee /dev/stderr |tail -2
1
2
3
4
5
4
5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]