|
From: | Chet Ramey |
Subject: | Re: process substition and "source" |
Date: | Tue, 01 Jul 2008 08:26:53 -0400 |
User-agent: | Thunderbird 2.0.0.14 (Macintosh/20080421) |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |