|
From: | Cuong Manh Le |
Subject: | Re: Fwd: read builtin return non-zero status reason |
Date: | Wed, 24 Feb 2016 21:18:42 +0700 |
It's the same thing. "Reached EOF before seeing the delimiter" is the
whole, combined reason.
On Wed, Feb 24, 2016 at 11:31:40AM +0700, Cuong Manh Le wrote:
> I send this email to help-bash but it seems to be inactive. Please help me
> with this problem. Thanks.
help-bash is active. You probably just didn't wait long enough.
If this is your first message to help-bash, your message is probably
waiting in some moderation/antispam queue.
> The bash read builtin documentation said that when read reached EOF, it's
> return non-zero status. So in:
>
> read -d '' l <<- EOF
> test
> EOF
>
>
> Did read return non-zero status because of it reached EOF or it failed to
> read the whole input because it could not find the delimiter?
It's the same thing. "Reached EOF before seeing the delimiter" is the
whole, combined reason.
[Prev in Thread] | Current Thread | [Next in Thread] |