diff options
Diffstat (limited to 'tests/heredoc1.sub')
-rw-r--r-- | tests/heredoc1.sub | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/heredoc1.sub b/tests/heredoc1.sub new file mode 100644 index 0000000..3f85ead --- /dev/null +++ b/tests/heredoc1.sub @@ -0,0 +1,16 @@ +foo() +{ + echo + cat <<END +bar +END + cat <<EOF +qux +EOF +} + +type foo +foo + +eval "$(type foo | sed 1d)" +foo |