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 delimit a here document.
That is historical sh behavior.
The end-of-file syntax error message comes when the shell tries to read
the token following the here document.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/