3 ms·
The POSIX definition of a "line" is "A sequence of zero or more non- <newline> characters plus a terminating <newline> character"[0]. I don't think it's counter
by LambdaComplex 9y ago
The POSIX definition of a "line" is "A sequence of zero or more non- <newline> characters plus a terminating <newline> character"[0]. I don't think it's counterintuitive at all for POSIX utilities to respect that definition.
0. http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_...
- frou_dh 9y ago"terminator, not separator" is an easy way to remember it. I would call bar in GP's comment a fragment.