Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!harald.ruc.dk!jba From: jba@harald.ruc.dk (Jan B. Andersen) Newsgroups: comp.unix.questions Subject: Re: Why does pipeline work this way? Keywords: pipeline, grep | cat Message-ID: <197@harald.UUCP> Date: 21 Dec 89 15:57:57 GMT References: <10064@saturn.ucsc.edu> Sender: news@slyrf.dkuug.dk Organization: RUC - Roskilde University Center, Denmark Lines: 10 ray@saturn.ucsc.edu (Ray Swartz) writes: >Any and all comments appreciated. Use sed: % sed -n '/pattern/p;//q' file It don't answer your question about pipes but it solves the original problem.