Hi!
I'm trying to have a here document used within $() which itself is
passed to eval(1).
Here's a minimal example of what I want:
eval $(cat <<'__EOF__');
echo foo;
__EOF__
If you want to use a here-document in a command substitution, the entire
here-document has to appear within the command substitution.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/