On Fri, Oct 01, 2004 at 01:11:41PM -0400, Paul Jarc wrote:
> Stephen Samuel <samuel@bcgreen.com> wrote:
> > At the end of the loop '$line' is empty (i.e. the last line is lost).
>
> See entry E4 in the bash FAQ.
[...]
No, E4 is about read being run in a subshell. OP's problem is
for read on non-text input (an unterminated line causes read to
exit with a non-zero exit status).
--
Stephane
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________