1 # Test for correct handling of backslashes.
2 # Note that some lines in each heredoc start with a tab.
12 123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
13 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
18 echo Unquoted heredoc:
24 123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
25 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
37 123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
38 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
41 # In -heredoc case the marker is detected even if it is indented.
44 echo Unquoted -heredoc:
50 123456 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
51 -$a-\t-\\-\"-\'-\`-\--\z-\*-\?-
55 # The marker is not detected if preceding line ends in backslash.
56 # TODO: marker should be detected even if it is split by line continuation:
59 # but currently hush doesn't do it. (Tab before "4" is not allowed, though.)