From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 1 Aug 2000 09:30:55 -0500 From: Stephen Harris To: 9fans@cse.psu.edu Subject: [9fans] pipefile with regular file Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Topicbox-Message-UUID: f08835bc-eac8-11e9-9e20-41e7f4b1d025 Pipefile is great, it's simple and I like how it uses namespace ability of Plan9 to give us a read "stream filter" which later apps don't need to even know about. But I am having a problem with reads on a filtered regular file not ever hitting EOF: (this is from memory:) pipefile -r 'tr a-z A-Z' myfile cat myfile (uppercase text to the terminal, but no prompt) I had to kill the cat with :-o Same thing if I redirect the cat to a file, have to kill it with . I thought it would go like: i ) tr eventually hits EOF ii) tr exits as last writer on internal pipe (data1) supplying data to be read by clients (cat) reading myfile iii) cat reads the remaining data if any and then hits EOF (there being no more writers), and exits. Anybody see why that's not happening, or does it work for you? Steve Everything you do from now on will be more fun - Windows 95 installation