Denys Vlasenko | e34dbc4 | 2017-07-24 02:49:56 +0200 | [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:$? |