Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git] / tests / heredoc.right
index bf02e2b..8eee6b2 100644 (file)
@@ -1,4 +1,7 @@
 there
+one - alpha
+two - beta
+three - gamma
 hi\
 there$a
 stuff
@@ -8,5 +11,34 @@ EO\
 F
 hi
 hi
+tab 1
+tab 2
+tab 3
+abc
+def ghi
+jkl mno
+fff is a function
+fff () 
+{ 
+    ed /tmp/foo  > /dev/null <<ENDOFINPUT
+/^name/d
+w
+q
+ENDOFINPUT
+
+    aa=1
+}
+fff is a function
+fff () 
+{ 
+    ed /tmp/foo > /dev/null  <<ENDOFINPUT
+/^name/d
+w
+q
+ENDOFINPUT
+
+    aa=1
+}
+./heredoc.tests: line 94: warning: here-document at line 92 delimited by end-of-file (wanted `EOF')
 hi
 there