From 0d86ed8ae0be258b18fc9c630641e2ca441836ac Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Wed, 30 Sep 2015 09:40:53 -0400 Subject: [PATCH] Updated SC1035 (markdown) --- SC1035.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SC1035.md b/SC1035.md index a71a8ba..2e7d43b 100644 --- a/SC1035.md +++ b/SC1035.md @@ -2,11 +2,14 @@ ### Problematic code: - if ![-z foo ]; then true; fi - +```sh +if ![-z foo ]; then true; fi +``` ### Correct code: - if ! [ -z foo ]; then true; fi +```sh +if ! [ -z foo ]; then true; fi +``` ### Rationale: