News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by Ukv on Tuesday October 29, 2024 @10:19AM (#41984093)
POSIX defines a line as:

> 3.185 Line

> A sequence of zero or more non-<newline> characters plus a terminating <newline> character.

So a file with some characters but no trailing newline is reported by `wc -l` as having zero lines.

There are no comments on this comment yet.