in reply to Re^8: How do I display only matches
in thread (SOLVED) How do I display only matches
I believe that the confusion here is that the standards specify use of <CR><LF> (as far back as RFC139, page 3, on a quick check) but *nix has a far simpler I/O model than was contemplated for the systems on the early ARPAnet. (ASCII itself is RFC20, by the way.)
So for correct and portable network usage, you are supposed to use "\015\012" rather than "\n" anyway, although Perl's ":crlf" PerlIO layer should cause "\n" to be emitted as "\015\012". Confused enough yet?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: How do I display only matches
by Marshall (Canon) on Sep 27, 2019 at 23:04 UTC | |
by jcb (Parson) on Sep 28, 2019 at 04:32 UTC | |
by haukex (Archbishop) on Sep 28, 2019 at 08:10 UTC | |
by jcb (Parson) on Sep 28, 2019 at 21:34 UTC | |
by Anonymous Monk on Sep 30, 2019 at 03:50 UTC | |
by Anonymous Monk on Sep 29, 2019 at 04:04 UTC | |
|