Re: keeping the pipe open

2003-03-07 Thread Cameron Simpson
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

Re: keeping the pipe open

2003-03-06 Thread Gordon Messmer
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

RE: keeping the pipe open

2003-03-06 Thread Dan Bar Dov
-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

Re: keeping the pipe open

2003-03-06 Thread Gordon Messmer
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