Denys Vlasenko | 7b4c0fd | 2010-11-22 17:58:14 +0100 | [diff] [blame] | 1 | # bug was that we treated <newline> as ';' in this line: |
2 | true || echo foo | | ||||
3 | echo BAD1 | cat | ||||
4 | |||||
5 | # variation on the same theme | ||||
6 | true || echo foo | | ||||
7 | # comment | ||||
8 | echo BAD2 | cat | ||||
9 | |||||
10 | # variation on the same theme | ||||
11 | true || echo foo | | ||||
12 | |||||
13 | echo BAD3 | cat | ||||
14 | |||||
15 | # this should error out, but currently works in hush: | ||||
16 | #true || echo foo |; | ||||
17 | |||||
18 | echo Done:$? |