From 6318f3bbef595fd3ff703608f1f424cdfe003bcd Mon Sep 17 00:00:00 2001 From: Kim Scarborough Date: Sun, 30 Apr 2017 01:17:21 -0500 Subject: [PATCH] Updated SC2089 (markdown) --- SC2089.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2089.md b/SC2089.md index 0187b0d..239cd9d 100644 --- a/SC2089.md +++ b/SC2089.md @@ -30,7 +30,7 @@ Similarly, `"My File.txt"` is Bash syntax for a single word with a space in it. The solution is to use an array instead, whenever possible. -If you due to `sh` compatibility can't use arrays, you can use `eval` instead. However, this is very insecure and easy to get wrong, leading to various forms of security vulnerabilities and breakage: +If due to `sh` compatibility you can't use arrays, you can use `eval` instead. However, this is very insecure and easy to get wrong, leading to various forms of security vulnerabilities and breakage: ```sh quote() { local q=${1//\'/\'\\\'\'}; echo "'$q'"; }