This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Pipe behavior clarification?
- From: David Balažic <xerces9 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 22 Jan 2017 21:19:20 +0100
- Subject: Pipe behavior clarification?
- Authentication-results: sourceware.org; auth=none
Hi!
Is this a correct pipe behavior?
$ echo booo | tee >(md5sum --tag) >/dev/null
MD5 (-) = 9c8b79bdf79ef0ee73a77b8d36d27a2d
$ echo booo | tee >(md5sum --tag) | cat >/dev/null
It surprised me, that the output of md5sum is dealed the same way as
the std output of tee in the second case, but separately in the first
case.
Using cygwin 64 bit (up to date), with bash.
Regards,
David
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple