Re: Option for read to handle incomplete last line
From:
Oğuz
Subject:
Re: Option for read to handle incomplete last line
Date:
Sun, 24 Oct 2021 13:05:19 +0300
On Sun, Oct 24, 2021 at 12:42 PM Koichi Murase <myoga.murase@gmail.com> wrote:
> and I think this is the behavior implied by the POSIX standard:
The spec also says:
> STDIN
> The standard input shall be a text file.
A text file is either empty, or ends with a newline. The behavior of
`read' is undefined when the input is not a text file.