RTFM... (really: sed -n 100,115p)

Rahul Dhesi dhesi at bsu-cs.bsu.edu
Fri May 19 10:05:49 AEST 1989


In article <1031 at philmds.UUCP> leo at 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 <dhesi at bsu-cs.bsu.edu>
UUCP:    ...!{iuvax,pur-ee}!bsu-cs!dhesi



More information about the Comp.unix.questions mailing list