repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'ah/userdiff-markdown'
[alt-git.git]
/
t
/
chainlint
/
nested-here-doc.test
blob
f35404bf0f9313f33040d49b685d087d4f11b29b
1
# LINT: inner "EOF" not misintrepreted as closing ARBITRARY here-doc
2
cat <<ARBITRARY >foop &&
3
naddle
4
fub <<EOF
5
nozzle
6
noodle
7
EOF
8
formp
9
ARBITRARY
10
11
(
12
# LINT: inner "EOF" not misintrepreted as closing INPUT_END here-doc
13
cat <<-\INPUT_END &&
14
fish are mice
15
but geese go slow
16
data <<EOF
17
perl is lerp
18
and nothing else
19
EOF
20
toink
21
INPUT_END
22
23
# LINT: same but missing "&&"
24
cat <<-\EOT
25
text goes here
26
data <<EOF
27
data goes here
28
EOF
29
more test here
30
EOT
31
32
foobar
33
)