"Aaron Gray" <[EMAIL PROTECTED]> writes:

> I need to print out all instances of the string expression 
> 'this\-\>[a-zA-Z_]+' from a C++ file on separate lines.

I'm having a little dejavu here:

You want grep, instead of sed.  Sed is for editing, grep is for
matching.  You also want to read a book on shell scripting.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

Reply via email to