Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git] / tests / heredoc.right
1 there
2 one - alpha
3 two - beta
4 three - gamma
5 hi\
6 there$a
7 stuff
8 hi\
9 there
10 EO\
11 F
12 hi
13 hi
14 tab 1
15 tab 2
16 tab 3
17 abc
18 def ghi
19 jkl mno
20 fff is a function
21 fff () 
22
23     ed /tmp/foo  > /dev/null <<ENDOFINPUT
24 /^name/d
25 w
26 q
27 ENDOFINPUT
28
29     aa=1
30 }
31 fff is a function
32 fff () 
33
34     ed /tmp/foo > /dev/null  <<ENDOFINPUT
35 /^name/d
36 w
37 q
38 ENDOFINPUT
39
40     aa=1
41 }
42 ./heredoc.tests: line 94: warning: here-document at line 92 delimited by end-of-file (wanted `EOF')
43 hi
44 there