[comp.unix.questions] using sed to display part of a file

zebr361@ut-emx.uucp (toney cassel) (06/02/91)

I have a file in the following format:

number      Title
$      Body of
$        explanation
$          goes here...
$
number      Title
$
$             Blah, Blah..
$              etc.

What I'd like to do is  get the number from the user and display the number, 
title, and body for one section only. The file is about a 100k, and is an 
error listing for Pascal error messages. I only want to display the error 
message that applies.

Thanks!
Toney Cassel
toneyc@seu.UUCP