Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!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: <7298@bsu-cs.bsu.edu> Date: 19 May 89 00:05:49 GMT References: <2859@buengc.BU.EDU> <611213677.29680@ontmoh.UUCP> <1031@philmds.UUCP> Reply-To: dhesi@bsu-cs.bsu.edu (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 10 In article <1031@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes: > sed -n -e 110,115p -e 115q > >and you even avoid reading the rest of the file. Careful! If sed was reading from a pipe, this will cause an EPIPE ("broken pipe") error. -- Rahul Dhesi UUCP: ...!{iuvax,pur-ee}!bsu-cs!dhesi