[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using tee with mkfifo
From: |
Peng Yu |
Subject: |
using tee with mkfifo |
Date: |
Fri, 27 Apr 2012 12:48:20 -0500 |
Hi,
The following code hangs there for ever. I don't understand what is
going on. Basically, I tee stdin to two named pipes and cat both
pipes. Could anybody let me know what I am wrong? Thanks!
mkfifo a.suffix b.suffix
echo Hello World | tee a.suffix > b.suffix &
cat a.suffix b.suffix
--
Regards,
Peng
- using tee with mkfifo,
Peng Yu <=