Re: sed help
[email protected] (Joel J. Adamson)
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | I need to put my ORGANIZATION here. |
| Message-ID | <[email protected]> |
"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