Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/chainlint/subshell-here-doc.test # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / chainlint / subshell-here-doc.test` 37 lines ยท 608 bytes Raw Blame History 1 test_expect_success 'subshell-here-doc' ' 2 ( 3 # LINT: stitch together incomplete \-ending lines 4 # LINT: swallow here-doc to avoid false positives in content 5 echo wobba \ 6 gorgo snoot \ 7 wafta snurb <<-EOF && 8 quoth the raven, 9 nevermore... 10 EOF 11 12 # LINT: missing "&&" on "cat" 13 cat <bip 14 fish fly high 15 EOF 16 17 # LINT: swallow here-doc (EOF is last line of subshell) 18 echo <<-\EOF >bop 19 gomez 20 morticia 21 wednesday 22 pugsly 23 EOF 24 ) && 25 ( 26 # LINT: swallow here-doc with arbitrary tag 27 cat <<-\ARBITRARY >bup && 28 glink 29 FIZZ 30 ARBITRARY 31 cat <<-"ARBITRARY3" >bup3 && 32 glink 33 FIZZ 34 ARBITRARY3 35 meep 36 ) 37 '