All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: Erik Faye-Lund <kusmabite@googlemail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Dmitry Potapov <dpotapov@gmail.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: git grep '(' = segfault
Date: Mon, 27 Apr 2009 20:54:17 +0200	[thread overview]
Message-ID: <vpqfxfund0m.fsf@bauges.imag.fr> (raw)
In-Reply-To: <40aa078e0904271142u71d7ba97w9df80667c0d9b955@mail.gmail.com> (Erik Faye-Lund's message of "Mon\, 27 Apr 2009 20\:42\:37 +0200")

Erik Faye-Lund <kusmabite@googlemail.com> writes:

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

try this: git grep -e '('

The idea is that you can do things like

git grep -e foo --and '(' -e bar --or -e boz ')'

to build a boolean expression of expressions.

-- 
Matthieu

  parent reply	other threads:[~2009-04-27 18:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 17:46 git grep '(' = segfault Dmitry Potapov
2009-04-27 18:10 ` Linus Torvalds
2009-04-27 18:42   ` Erik Faye-Lund
2009-04-27 18:50     ` Linus Torvalds
2009-04-27 18:53       ` Erik Faye-Lund
2009-04-27 18:54     ` Matthieu Moy [this message]
2009-04-27 19:02       ` Erik Faye-Lund
2009-04-27 23:18         ` Junio C Hamano
2009-04-27 18:15 ` Michał Kiedrowicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqfxfund0m.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag.fr \
    --cc=dpotapov@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kusmabite@googlemail.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.