On Fri., 20 dec. 2019 at 3:57, Martin Schulte (<g...@schrader-schulte.de>)
wrote:

> Hello!
>
> > Could you please comment about this assertions:
> >
> >  1.-   bash will either do a select() or an ioctl(FIONREAD), or neither
> > of them, but not both, as it should for it to work. read -t0 is broken.
> >  2.- Conclusion: read -t0 is *broken* in bash. Don't use it. –
>
> No. It works as intended. It's not usable in a pipe in the way you try,
> but this is caused by the principles of a pipe, not by a bug in read.
>
>
Hello Martin!

I am not the one making those comments. I don't have enough C expertise
to neither confirm or deny them. But that also makes me unable to answer to
the
author of the comments in the proper way. I intended to receive something to
correct his (incorect?) opinion.

In any case, thanks.

Best regards,

Isaac

Reply via email to