projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'rs/sha1-file-close-mapped-file-on-error'
[git]
/
t
/
chainlint
/
nested-here-doc.test
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
)