Skip to main content
16 events
when toggle format what by license comment
Sep 12, 2022 at 23:13 answer added git_driver timeline score: -1
Jan 27, 2020 at 18:27 vote accept Alexander Mills
Sep 18, 2019 at 21:57 comment added Alexander Mills I am not arguing that I would like an upvote, I am just saying that this question is not worthy of an upvote
Sep 18, 2019 at 21:56 history edited Alexander Mills CC BY-SA 4.0
edited title
Sep 18, 2019 at 21:55 comment added Kamil Maciorowski @UncleBilly I did not argue, I stated.
Sep 18, 2019 at 21:35 answer added bitinerant timeline score: -1
Sep 18, 2019 at 21:34 history edited Kusalananda
edited tags
Sep 18, 2019 at 21:27 answer added Kusalananda timeline score: 16
Sep 18, 2019 at 21:21 comment added user313992 echo foo | tee >(echo bar; cat >/dev/null) in your second example
Sep 18, 2019 at 21:18 history edited Kusalananda
edited tags
Sep 18, 2019 at 21:16 comment added Kusalananda You do it exactly the way that you have shown, but the command in the process substitution should read what's written to it, or it may terminate too early.
Sep 18, 2019 at 21:14 comment added Alexander Mills thanks for the insights, ultimately my goal is to tee to a process and stdout, how do I do so?
Sep 18, 2019 at 21:10 comment added user313992 @KamilMaciorowski It's absolutely pointless to argue about that; it's all about the order in which the echo foo, echo bar and tee commands will be started and finished, and that's unpredictable. If echo bar finishes before tee tries to write anything into its pipe, tee will be killed by a SIGPIPE.
Sep 18, 2019 at 20:58 comment added Alexander Mills that's so weird b/c it doesn't for me, I am on MacOS, maybe tee is different here
Sep 18, 2019 at 20:56 comment added Kamil Maciorowski echo 'foo' | tee >(echo 'bar') prints bar and foo for me.
Sep 18, 2019 at 20:47 history asked Alexander Mills CC BY-SA 4.0