Re: [RFC/PATCH] Bisect: add special treatment for bangs passed to "bisect run".

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

 



Hallo Christian,

> 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
-
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]