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


Groups > gnu.bash.bug > #16550

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: foo | tee /dev/stderr | bar # << thanks!
Date 2020-07-07 08:50 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1084.1594126212.2574.bug-bash@gnu.org> (permalink)
References <87k0zgxfl4.fsf@hobgoblin.ariadne.com> <ed8db9c3-b334-73be-3b55-6401934fdfc9@case.edu>

Show all headers | View raw


On 7/6/20 9:45 PM, Dale R. Worley wrote:
> bug-bash@trodman.com writes:
>>     foo | tee >(cat >&2) | bar
> 
> I do wonder how portable >( ... ) is in practice, versus the portability
> of /dev/stderr.  

It's portable in the sense that it's available wherever bash is.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

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


Thread

Re: foo | tee /dev/stderr | bar # << thanks! Chet Ramey <chet.ramey@case.edu> - 2020-07-07 08:50 -0400

csiph-web