3 ms·
Not quite the same thing. The old shell would stop reading at `\n`, whereas buffered input means the process has an arbitrary buffer of bytes read ahead. Modif
by xyzzy_plugh 3y ago
Not quite the same thing. The old shell would stop reading at `\n`, whereas buffered input means the process has an arbitrary buffer of bytes read ahead.
Modifying the file while it's executing would cause issues in either scenario, so long as any part of the file was unbuffered. I think you're interpreting buffering to mean "buffer the entire file" which isn't what happens here.
- kragen 3y agodash 0.5.12-2 line buffers, haven't tested bash you see this happen even in very small shell scripts