[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
process substition and "source"
From: |
Poor Yorick |
Subject: |
process substition and "source" |
Date: |
Tue, 01 Jul 2008 03:58:09 +0000 |
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?
bash-3.2$ echo $BASH_VERSION
3.2.39(1)-release
bash-3.2$ . <(cat <<EOF
echo hello
export HELLO=1
EOF
)
bash-3.2$ echo $HELLO
bash-3.2$
--
Yorick
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- process substition and "source",
Poor Yorick <=