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 ${THIS_SH} -c 'type fff'
89 ${THIS_SH} ./heredoc1.sub
92 cat <<< "comsub here-string"
95 # check that end of file delimits a here-document