Re: git grep '(' = segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, 27 Apr 2009, Erik Faye-Lund wrote:
> On Mon, Apr 27, 2009 at 8:10 PM, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > Something like this should fix it.
> >
> >                Linus
> 
> (Sorry that you're getting this mail twice, Linus - I forgot to reply all)

Payback time. Now _you'll_ get it twice. Mmmwwhahahahaahaaa!

> $ git grep '('
> fatal: unmatched parenthesis

Try this:

        git grep -e '('

because 'git grep' actually allows multiple patterns, so you can do things 
like

        git grep '(' -e hello --or -e 'hi there' ')' --and -e world

Practical? Maybe.

                Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]