If you want to preserve the "$foo" do% foo=bar % cat<<EOF >$foo >EOF bar
--traveler% foo=bar % cat<<'EOF' >$foo >EOF $foo
In reply to Re: Nested Heredocs and Shell Escapes (code)
by traveler
in thread Nested Heredocs and Shell Escapes (code)
by deprecated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |