Updated SC1035 (markdown)

Mingye Wang
2015-10-04 01:53:43 -04:00
parent 93b709dc12
commit 2917aaaa69

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