Web lists-archives.org

Re: git-bisect: weird usage of read(1)




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

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