hush: fix another corner case with backslashes in heredocs
[oweals/busybox.git] / shell / hush_test / hush-misc / heredoc_backslash1.right
1 Quoted heredoc:
2 a\
3         b
4 a\\
5         b
6  123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
7         -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
8 c\
9
10 Unquoted heredoc:
11 a       b
12 a\
13         b
14  123456 -qwerty-\t-\-\"-\'-`-\--\z-\*-\?-
15         -qwerty-\t-\-\"-\'-`-\--\z-\*-\?-
16 cEOF2
17
18 Quoted -heredoc:
19 a\
20 b
21 a\\
22 b
23  123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
24 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
25 c\
26
27 Unquoted -heredoc:
28 a       b
29 a\
30 b
31  123456 -qwerty-\t-\-\"-\'-`-\--\z-\*-\?-
32 -qwerty-\t-\-\"-\'-`-\--\z-\*-\?-
33 cEOF4
34
35 Done: 0