bug-bash
[Top][All Lists]
Advanced

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

process substitution stdout connected to pipeline


From: Pádraig Brady
Subject: process substitution stdout connected to pipeline
Date: Fri, 13 Feb 2015 17:10:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

zsh behaves as I expected:
% : | tee >(md5sum) | sha1sum
da39a3ee5e6b4b0d3255bfef95601890afd80709  -
d41d8cd98f00b204e9800998ecf8427e  -

bash though seems to connect the stdout of the process substitution
to the pipeline, which seems like a bug:
$ : | tee >(md5sum) | sha1sum
253a7a49edee354f35b2e416554127cf29c85724  -


cheers,
Pádraig



reply via email to

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