From da91be8e1a74062ee6d226bc9291ec362a0b35dc Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 19 Oct 2020 19:45:02 -0700 Subject: [PATCH] Updated SC2268 (markdown) --- SC2268.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC2268.md b/SC2268.md index 307ff7c..25c1b13 100644 --- a/SC2268.md +++ b/SC2268.md @@ -31,8 +31,8 @@ Bash 1.14 from 1992 incorrectly fails this test. This was fixed for Bash 2.0 in Dash 0.5.4 from 2007 incorrectly passes this test. This was fixed for Dash 0.5.5 in 2008: - var='(' - [ "$var" = ")" ] + x='(' y=')' + [ "$x" = "$y" ] Zsh (while not supported by ShellCheck) fixed the same problem in 2015.