Re: [RFC/PATCH] Bisect: add special treatment for bangs passed to "bisect run".
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- May 1, 2007, 09:44 UTC
- Message-ID
- <20070501094403.GA7613@informatik.uni-freiburg.de>
- In-Reply-To
- <20070501113112.c4b32b55.chriscool@tuxfamily.org>
Hallo Christian,
Show 5 quoted lines
> Something like: > > $ git bisect run ! grep string my_file > > does not work right now, probably because '!' is a shell keyword.
I didn't check you patch in deep, but you should consider that the special meaning of "!" isn't implemented in the original Bourne Shell[1].
IIRC this or something similar was brought up some time ago and the result was, that your script has to do the negation if needed.
Best regards Uwe
[1] login@~ > uname -a
SunOS login 5.10 Generic_118833-36 sun4u sparc login@~ > /bin/sh -c "! true"
/bin/sh: !: not found-- Uwe Kleine-König cal 9 1752 | grep 10