Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.bsu.edu (Rahul Dhesi) Newsgroups: comp.unix.questions Subject: Re: RTFM... (really: sed -n 100,115p) Message-ID: <7320@bsu-cs.bsu.edu> Date: 19 May 89 18:41:17 GMT References: <2859@buengc.BU.EDU> <611213677.29680@ontmoh.UUCP> <1031@philmds.UUCP> <7298@bsu-cs.bsu.edu> <1033@philmds.UUCP> Reply-To: dhesi@bsu-cs.bsu.edu (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 22 In article <1033@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes: >Are you >implying that each filter should read all its input ?? Yes, unless it knows that a process providing that input is prepared to gracefully handle the situation when writing to stdout causes an error. From the user's point of view, % mypgm | myfilter ... output from myfilter ... mypgm: error writing to stdout: broken pipe % is not a friendly situation, because it makes it seem that something went wrong. Compare this with: % mypgm | myfilter ... output from myfilter ... % -- Rahul Dhesi UUCP: ...!{iuvax,pur-ee}!bsu-cs!dhesi