add a pathological test case for here doc related to eof marker and other ugly corner cases

This commit is contained in:
Mike Frysinger 2009-04-07 06:06:05 +00:00
parent a4f331d3c3
commit b509c9c670
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,7 @@
exit EOF-f
"
echo 1
moo
EOF-f
EOF-f f
EOF-f

View File

@ -0,0 +1,10 @@
f=1
cat <<- EOF-f
exit EOF-f
"
echo $f
moo
EOF-f
EOF-f f
EOF-f
EOF-f