mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2268 (markdown)
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user