Re: [Hampshire] Any grep gurus here?

Page principale

Répondre à ce message
Auteur: bryan hunt
Date:  
À: lug, Hampshire LUG Discussion List
Sujet: 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"