Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug with named pipes and process substitution
- X-seq: zsh-workers 35847
- From: Petros Aggelatos <petrosagg@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: bug with named pipes and process substitution
- Date: Tue, 21 Jul 2015 17:25:15 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=hoV4zywRtpoMutKE0dNfnO6bfjAjPDJgxz8iKWYwap8=; b=yUF26GRQAVp2lyB598WbzgkgmsyhFigN1L3Rd8QuItRxkmiMmkqrajIn8XlMJXQEMH JhLJinc3RO4Baul2UNWQygvKDJM7jPO4sthPYgnilPlcauZ3oEin55szVWBg4oUrr2IV kNGhdva0uAsWDga2GtCUvbMVD1tlxmVR+oLRuTrpoFessaQ+PsVHuB1MEoldDtLssrem T0kYpj0UkqJd0LWGFrWkAIVlUIzo5YtieHCM1HOuZC5oAcKXgv4nu5gnY1PRRTwMP6IC ZxQf4pQWvm5pgYkuievDNAAP2XeG711IGuQp40zkkKXkfNGPOvQgPuNp1XsIhyVMthiv hkug==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi all,
I encountered a bug when running the following two commands:
mkfifo test_pipe
echo 1 | tee >(cat > test_pipe) | paste - test_pipe
In bash and zsh 5.0.2 it outputs "1 1" and then exits. In zsh 5.0.8
however, it outputs the same thing and hangs forever.
I bisected the repo for the commit that introduced this behaviour and
it was introduced in 3c5732223f65309c6820f15b8519f674bd21185b which
includes the patch from this thread
http://www.zsh.org/mla/workers/2013/msg00569.html
I haven't yet figured out how and what, since I'm not very familiar
with the codebase. I'll try to figure out a patch but if someone can
shed some light on what is going on that would be great.
System info:
$ echo $ZSH_VERSION $ZSH_PATCHLEVEL `uname -mo`
5.0.8 zsh-5.0.8-0-gf0068ed x86_64 GNU/Linux
Best,
Petros
Messages sorted by:
Reverse Date,
Date,
Thread,
Author