Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!ut-emx!zebr361 From: zebr361@ut-emx.uucp (toney cassel) Newsgroups: comp.unix.questions Subject: using sed to display part of a file Message-ID: <49846@ut-emx.uucp> Date: 2 Jun 91 15:36:37 GMT Followup-To: toneyc@seu.UUCP Distribution: comp.unix.questions Organization: The University of Texas at Austin; Austin, Texas Lines: 20 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