4 ms·
If anyone is wondering why `read` can reliably read a single line while head can't, it's because it reads byte by byte. This is just as inefficient as it sound
by koala_man 10y ago
If anyone is wondering why `read` can reliably read a single line while head can't, it's because it reads byte by byte.
This is just as inefficient as it sounds, but it doesn't matter much in practice since you rarely read a lot with it.