kurahaupo 1603899022 learn « read < <( prog ) » is preferable to « prog | read » in almost all circumstances, because the latter implicitly puts « read » into subshell, so whatever it reads is immediately forgotten.