RTFM... (really: sed -n 100,115p)
Rahul Dhesi
dhesi at bsu-cs.bsu.edu
Sat May 20 04:41:17 AEST 1989
In article <1033 at philmds.UUCP> leo at 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 <dhesi at bsu-cs.bsu.edu>
UUCP: ...!{iuvax,pur-ee}!bsu-cs!dhesi
More information about the Comp.unix.questions
mailing list