Updated SC1035 (markdown)

Mingye Wang
2015-10-04 01:53:14 -04:00
parent d04f04b6e9
commit 93b709dc12

@@ -3,12 +3,12 @@
### Problematic code:
```sh
if ![-z foo ]; then true; fi
if ![-z foo ]; then true; fi # if the command `[-z' with args `foo', `]' is not successful..
```
### Correct code:
```sh
if ! [ -z foo ]; then true; fi
if ! [ -z foo ]; then true; fi # if the command `[' with args `-z'. `foo', `]' is not sucessful..
```
### Rationale: