Eric Sunshine | 7b90679 | 2018-07-11 02:46:36 -0400 | [diff] [blame] | 1 | # LINT: stitch together incomplete \-ending lines |
| 2 | # LINT: swallow here-doc to avoid false positives in content |
| 3 | boodle wobba \ |
| 4 | gorgo snoot \ |
| 5 | wafta snurb <<EOF && |
| 6 | quoth the raven, |
| 7 | nevermore... |
| 8 | EOF |
| 9 | |
Eric Sunshine | c2c29cc | 2018-08-13 04:47:34 -0400 | [diff] [blame] | 10 | # LINT: swallow here-doc with arbitrary tag |
| 11 | cat <<-Arbitrary_Tag_42 >foo && |
| 12 | snoz |
| 13 | boz |
| 14 | woz |
| 15 | Arbitrary_Tag_42 |
| 16 | |
Eric Sunshine | 7e32a31 | 2018-08-13 04:47:35 -0400 | [diff] [blame] | 17 | # LINT: swallow 'quoted' here-doc |
| 18 | cat <<'FUMP' >bar && |
| 19 | snoz |
| 20 | boz |
| 21 | woz |
| 22 | FUMP |
| 23 | |
Eric Sunshine | 3042b6b | 2018-08-29 05:45:32 -0400 | [diff] [blame] | 24 | # LINT: swallow "quoted" here-doc |
| 25 | cat <<"zump" >boo && |
| 26 | snoz |
| 27 | boz |
| 28 | woz |
| 29 | zump |
| 30 | |
Eric Sunshine | 7b90679 | 2018-07-11 02:46:36 -0400 | [diff] [blame] | 31 | # LINT: swallow here-doc (EOF is last line of test) |
| 32 | horticulture <<\EOF |
| 33 | gomez |
| 34 | morticia |
| 35 | wednesday |
| 36 | pugsly |
| 37 | EOF |