projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b8754dec7d56794aa0a3f542abd69738062f5773
[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
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
comsub here-string
62
./heredoc.tests: line 100: warning: here-document at line 98 delimited by end-of-file (wanted `EOF')
63
hi
64
there