---------- Forwarded message ----------
From: Cuong Manh Le <address@hidden>
Date: Wed, Feb 24, 2016 at 11:14 AM
Subject: read builtin return non-zero status reason
The bash read builtin documentation said that when read reached EOF, it's return non-zero status. So in:
read -d '' l <<- 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?
IMHO, the second reason is correct.
Correct me if I'm wrong.