Re: [Hampshire] Any grep gurus here?

Top Page

Reply to this message
Author: bryan hunt
Date:  
To: lug, Hampshire LUG Discussion List
Subject: Re: [Hampshire] Any grep gurus here?
On Sun, 2011-03-06 at 17:42 +0000, Vic wrote:
> pattern along the lines of:
> foo(bar
> thought a regex of
> foo\(.*
> grep tells me
> grep: Unmatched ( or \(
> ...Which I knew. I'm specifically looking for an unmatched \(.


echo "sadffdfoo(barblah vbflhaasd" | grep "foo(bar"