{"thread":{"id":"14931","subject":"git-bisect: weird usage of read(1)","startedAt":"2008-08-11T14:00:28Z","lastAt":"2008-08-11T14:00:28Z","messageCount":1,"participants":["Francis Moreau"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"86768","messageId":"38b2ab8a0808110700x595448fco46d24a3e6582d024@mail.gmail.com","threadId":"14931","inReplyTo":null,"subject":"git-bisect: weird usage of read(1)","fromName":"Francis Moreau","fromEmail":"francis.moro@gmail.com","sentAt":"2008-08-11T14:00:28Z","receivedAt":"2008-08-11T14:00:28Z","isPatch":false,"sender":{"key":"francis.moro@gmail.com","avatar":null},"body":"Hello\n\nI found this in git bisect:\n\n              printf >&2 'Are you sure [Y/n]? '\n              case \"$(read yesno)\" in [Nn]*) exit 1 ;; esac\n\nwhich looks very weird since read(1) returns a status and not the\nstring reads from std input.\n\nAm I missing something ?\n\nThanks\n-- \nFrancis\n"}]}