Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Cat multiple files into one pipe (zcat)

by tye (Sage)
on Apr 25, 2003 at 15:01 UTC ( #253182=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Cat multiple files into one pipe
in thread Cat multiple files into one pipe

Isn't this what zcat is for?

I don't see anything wrong with your code.

If you kill the receiving program, SIGPIPE is the expected outcome. Is it exiting on its own? What makes you think it is no longer receiving data?

The buffer size for pipes is quite small so Perl would quickly block if the receiving program stopped reading data (and even Perl's internal buffer is not that big).

                - tye
  • Comment on Re^5: Cat multiple files into one pipe (zcat)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2022-07-04 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?