[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] stdout and stderr to two different process substitutions
From: |
Bob Proulx |
Subject: |
Re: [Help-bash] stdout and stderr to two different process substitutions |
Date: |
Wed, 25 Jan 2012 14:20:24 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Greg Wooledge wrote:
> Bob Proulx wrote:
> > Apply 2> >(tee yy), start with tee yy first.
> >
> > | | --err:2-->
> > --in:0-->|tee|
> > | | --out:1-->yy
>
> But that does not. tee inherits foo's stdout, so its out:1 arrow
> should be pointing to the /dev/fd/63 thing. tee will open the file
> "yy" as a new FD, which is not show in your diagram at all -- it won't
> open it as stdout.
Yes! Of course you are correct. I was distracted by yy being an
explicit write target for tee and misdrew the picture. My bad.
I am not going to correct post an updated drawing however. Hopefully
the idea behind it was sufficient to accomplish goal of showing how
things are piped and plumbed together. :-)
Bob
- Re: [Help-bash] stdout and stderr to two different process substitutions, (continued)
- Re: [Help-bash] stdout and stderr to two different process substitutions, Peng Yu, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Peng Yu, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Greg Wooledge, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Peng Yu, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Greg Wooledge, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Peng Yu, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Greg Wooledge, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Chet Ramey, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Bob Proulx, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Greg Wooledge, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions,
Bob Proulx <=
- Re: [Help-bash] stdout and stderr to two different process substitutions, Peng Yu, 2012/01/25
- Re: [Help-bash] stdout and stderr to two different process substitutions, Chet Ramey, 2012/01/25