hat's because readline reads not only from file, but from buffer as well
It's a difference, but it doesn't mean "they don't work". The effect of the pipe buffering -- and file system caching -- means you get the same effects with sysread.
Even sockets have buffers in the tcp stack.
In reply to Re^9: sysread/syswrite wrappers
by BrowserUk
in thread sysread/syswrite wrappers
by vsespb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |