source:
vendor/bash/3.1/tests/heredoc.right
| Last change on this file was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 342 bytes | |
| Line | |
|---|---|
| 1 | there |
| 2 | one - alpha |
| 3 | two - beta |
| 4 | three - gamma |
| 5 | hi\ |
| 6 | there$a |
| 7 | stuff |
| 8 | hi\ |
| 9 | there |
| 10 | EO\ |
| 11 | F |
| 12 | hi |
| 13 | hi |
| 14 | tab 1 |
| 15 | tab 2 |
| 16 | tab 3 |
| 17 | abc |
| 18 | def ghi |
| 19 | jkl mno |
| 20 | fff is a function |
| 21 | fff () |
| 22 | { |
| 23 | ed /tmp/foo >/dev/null <<ENDOFINPUT |
| 24 | /^name/d |
| 25 | w |
| 26 | q |
| 27 | ENDOFINPUT |
| 28 | |
| 29 | aa=1 |
| 30 | } |
| 31 | fff is a function |
| 32 | fff () |
| 33 | { |
| 34 | ed /tmp/foo >/dev/null <<ENDOFINPUT |
| 35 | /^name/d |
| 36 | w |
| 37 | q |
| 38 | ENDOFINPUT |
| 39 | |
| 40 | aa=1 |
| 41 | } |
| 42 | hi |
| 43 | there |
Note:
See TracBrowser
for help on using the repository browser.
