Aaron Gray wrote:

> "Dan C" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> On Mon, 28 Jan 2008 14:48:19 +0000, Aaron Gray wrote:
>>
>>> I need to print out all instances of the string expression
>>> 'this\-\>[a-zA-Z_]+' from a C++ file on separate lines.
>>
>> OK, go ahead.
> 
> ??? :)
> 
> AFAICT sed will not do this. Tried awk but could not fathom it.

What abuut grep?

Reply via email to