Poor Yorick wrote:
In the following example, I expected the commands in the here-documents to be interpreted in the current shell, but it seems they weren't. Is it my misunderstanding, a feature, or a bug?
They're not interpreted in the current shell; in versions of bash up to and including bash-3.2, `.' doesn't work on anything but regular files. This restriction has been lifted in bash-4.0. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/