using sed to display part of a file

toney cassel zebr361 at ut-emx.uucp
Mon Jun 3 01:36:37 AEST 1991


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 at seu.UUCP



More information about the Comp.unix.questions mailing list