Files
bash/tests/comsub-eof0.sub
2024-04-22 10:33:38 -04:00

13 lines
230 B
Plaintext

# this works as it should, but with a warning
foo=$(cat <<EOF
hi
EOF)
echo $foo
unset -v foo
# it's only the space before the paren that makes this an error
# when I fix it, it will show up here
foo=$(cat <<EOF
hi
EOF )
echo $foo