1
# check order and content of multiple here docs
23
# check quoted here-doc is protected
32
# check that quoted here-documents don't have \newline processing done
42
# check that \newline is removed at start of here-doc
48
# check that \newline removal works for here-doc delimiter
54
# check operation of tab removal in here documents
61
# check appending of text to file from here document
63
cat > /tmp/bash-zzz << EOF
66
cat >> /tmp/bash-zzz << EOF
73
# make sure command printing puts the here-document as the last redirection
74
# on the line, and the function export code preserves syntactic correctness
77
ed /tmp/foo <<ENDOFINPUT >/dev/null
87
#ash# ${THIS_SH} -c 'type fff'
89
#hush# bash warns: "here-document at line N delimited by end-of-file",
91
#hush# hush errors out for now:
92
#hush# # check that end of file delimits a here-document
93
#hush# # THIS MUST BE LAST!