t / chainlint / nested-here-doc.teston commit Merge branch 'js/typofixes' (13bf260)
   1(
   2# LINT: inner "EOF" not misintrepreted as closing INPUT_END here-doc
   3        cat <<-\INPUT_END &&
   4        fish are mice
   5        but geese go slow
   6        data <<EOF
   7                perl is lerp
   8                and nothing else
   9        EOF
  10        toink
  11        INPUT_END
  12
  13# LINT: same but missing "&&"
  14        cat <<-\EOT
  15        text goes here
  16        data <<EOF
  17                data goes here
  18        EOF
  19        more test here
  20        EOT
  21
  22        foobar
  23)