George Koehler wrote:
>       stripcom() in /etc/rc uses `while read _line ; do ... done`
> to read these files, but `read _line` exits 1 when the last line is
> without a newline.  This behavior in sh and ksh is consistent with
> bash, dash, ksh93, and yash:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206

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

A line without a newline is not a line.

Reply via email to