in reply to Re^7: How do I display only matches
in thread (SOLVED) How do I display only matches
To hopefully add a bit more clarity (or at least improve my own understanding), POSIX has a binary model of files and "\n" is always <LF> in user programs. But sometimes the kernel can translate <LF> to <CR><LF> and this usually means that a terminal driver is involved somewhere — this is frequently seen when using Expect, which uses the pty facilities, which emulate a terminal and therefore involve the kernel terminal driver.
As far as I know, sockets are always binary and no such translation ever occurs, so I am unsure where this misinformation about network line endings originated. Perhaps STREAMS had such a translation module?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: How do I display only matches
by haukex (Archbishop) on Sep 26, 2019 at 05:50 UTC |