>From ra...@inputplus.co.uk Wed Sep 16 12:10:02 2015 > >Why use head(1)? Why did Berkeley even bother to create head when sed >already existed and had the functionality?
I didn't know that. >I'm assuming you know about the SIGPIPE, or EPIPE return from write(2), >that occurs when sed closes its stdin, nroff's stdout, and how that >ripples back through the pipeline, causing yes(1) to stop? No, I don't. This really was my question. >From your answer I see it's not trivial. Thanks Anton