On 19:56 06 Mar 2003, Dan Bar Dov [EMAIL PROTECTED] wrote:
| The last pipe to tee is the problem. I can't do that. I need to send the
| input from several locations, and they do terminate.
The problem is that the pipe sees all the handles go away, and sends EOF to
your gzip. Keep at least one
Dan Bar Dov wrote:
I need to continuously compress inputs that arrive from time to time
into one stream.
My idea was to create a named pipe, set a gzip reading from it, and then
Writing to it using cat, tee -a etc.
Basically like that:
mknod P p
gzip - P p.gz
while something
do
-Original Message-
Input process:
while something
do
do-something
done | tee -a /tmp/my-fifo
The last pipe to tee is the problem. I can't do that. I need to send the
input from several locations, and they do terminate.
Dan
--
redhat-list mailing list
unsubscribe
Dan Bar Dov wrote:
Input process:
while something
do
do-something
done | tee -a /tmp/my-fifo
The last pipe to tee is the problem. I can't do that. I need to send the
input from several locations, and they do terminate.
I guess then you should use two fifo's:
## Zipper:
mkfifo