Re: git-bisect: weird usage of read(1)
- Date: Mon, 11 Aug 2008 18:29:51 +0200
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Subject: Re: git-bisect: weird usage of read(1)
On Mon, Aug 11, 2008 at 6:26 PM, Reece Dunn <msclrhd@xxxxxxxxxxxxxx> wrote:
> 2008/8/11 Francis Moreau <francis.moro@xxxxxxxxx>:
>> On Mon, Aug 11, 2008 at 5:59 PM, Reece Dunn <msclrhd@xxxxxxxxxxxxxx> wrote:
>>> $ $(read yesno) && echo yes || echo no
>>> n
>>> yes
>>> $ $(read yesno) && echo yes || echo no
>>> y
>>> yes
>>
>> funny, seeing these 2 cases I'm wondering why Bash is not complaining...
>
> I don't know; it could be an issue with cygwin.
>
> I'll try it on a Linux box later and post the results then for comparison.
>
I got the same result on Linux...
--
Francis
--
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