]>
Commit | Line | Data |
---|---|---|
ccc6cda3 | 1 | there |
d166f048 JA |
2 | one - alpha |
3 | two - beta | |
4 | three - gamma | |
ccc6cda3 JA |
5 | hi\ |
6 | there$a | |
7 | stuff | |
8 | hi\ | |
9 | there | |
10 | EO\ | |
11 | F | |
12 | hi | |
13 | hi | |
d166f048 JA |
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 | { | |
0628567a | 23 | ed /tmp/foo > /dev/null <<ENDOFINPUT |
d166f048 JA |
24 | /^name/d |
25 | w | |
26 | q | |
27 | ENDOFINPUT | |
28 | ||
29 | aa=1 | |
30 | } | |
31 | fff is a function | |
32 | fff () | |
33 | { | |
0628567a | 34 | ed /tmp/foo > /dev/null <<ENDOFINPUT |
d166f048 JA |
35 | /^name/d |
36 | w | |
37 | q | |
38 | ENDOFINPUT | |
39 | ||
40 | aa=1 | |
41 | } | |
17345e5a JA |
42 | foo is a function |
43 | foo () | |
44 | { | |
45 | echo; | |
46 | cat <<END | |
47 | bar | |
48 | END | |
49 | ||
50 | cat <<EOF | |
51 | qux | |
52 | EOF | |
53 | ||
54 | } | |
55 | ||
56 | bar | |
57 | qux | |
58 | ||
59 | bar | |
60 | qux | |
61 | ./heredoc.tests: line 96: warning: here-document at line 94 delimited by end-of-file (wanted `EOF') | |
ccc6cda3 JA |
62 | hi |
63 | there |