Re: Bash error message for unterminated heredoc is unhelpful.

2008-07-02 Thread Chet Ramey
Richard Neill wrote: Chet Ramey wrote: Richard Neill wrote: Dear All, In some cases, bash gives exceptionally unhelpful error messages, of the sort "Unexpected end of file". This is next-to-useless as a debugging aid, since there is no way to find out where the error really lies. For better o

Re: Bash error message for unterminated heredoc is unhelpful.

2008-06-28 Thread Richard Neill
Chet Ramey wrote: > Richard Neill wrote: >> Dear All, >> >> In some cases, bash gives exceptionally unhelpful error messages, of the >> sort "Unexpected end of file". This is next-to-useless as a debugging >> aid, since there is no way to find out where the error really lies. > > For better or wor

Re: Bash error message for unterminated heredoc is unhelpful.

2008-06-28 Thread Chet Ramey
Richard Neill wrote: Dear All, In some cases, bash gives exceptionally unhelpful error messages, of the sort "Unexpected end of file". This is next-to-useless as a debugging aid, since there is no way to find out where the error really lies. For better or worse, bash allows end-of-file to deli