From 9ba5d19454833185a6be878e146753a4ba0d3716 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Fri, 25 Sep 2015 10:16:37 -0400 Subject: [PATCH] Updated SC2039 (markdown) --- SC2039.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC2039.md b/SC2039.md index 82bcbfa..cbde9c2 100644 --- a/SC2039.md +++ b/SC2039.md @@ -70,8 +70,8 @@ Bash: POSIX: ```sh -: $((a=c+d)) -[ $((d)) -ne 0 ] && echo d is true. +: $((a=c+d)) # discard the output of the arith expn with `:` command +[ $((d)) -ne 0 ] && echo d is true. # manually check non-zero => true ``` ### `select` loops