help me do grep

Spmg*d, Lord of Potted Meat Product cshort at nmsu.edu
Tue Feb 26 07:57:45 AEST 1991



hi

i have some large protien files that i am trying to search
for keywords and when they are found, print specific
areas of text around it.

let me be more clear:
this is what my text looks like:

///
entry 
title
date
accession
reference
superfamily
sequence
///

if i get a hit on accession, i would like to print the whole
record.

the reason i am not running this through a database is the file
is about 19megs

thanks


 |----------------------|----------------------                     | 
 |the world is spam and |    Chris Short                            |
 | we are but the key   |          Computing Research Labatory      |
 |--------|-------------|          Box 30001/3 CRL                  |      
          |                        New Mexico State University      |
          |                        Las Cruces, NM 88003-0001        | 
          |      Email: Cshort at nmsu.edu  Fax:505 646 6218|-------------------|
          |      Voice: 505 646 6216                     |SpamKey productions| 
          |                     -------------------------|-------------------|



More information about the Comp.unix.shell mailing list