Thread (13 messages) flat view 13 messages, 6 authors, 2016-06-15

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

From: Reece Dunn <hidden>
Date: 2016-06-15 22:45:08

2008/8/11 Francis Moreau [off-list ref]:
On Mon, Aug 11, 2008 at 5:59 PM, Reece Dunn [off-list ref] wrote:
quoted
$ $(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.

- Reece
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help