From 2917aaaa690e792bd84021508adbedad1aaea2f4 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Sun, 4 Oct 2015 01:53:43 -0400 Subject: [PATCH] Updated SC1035 (markdown) --- SC1035.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC1035.md b/SC1035.md index e1815a1..a309309 100644 --- a/SC1035.md +++ b/SC1035.md @@ -3,12 +3,12 @@ ### Problematic code: ```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: ```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: