From 59e278f929ec79c2b04c9c6f611fd86335e36cd9 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Wed, 20 Oct 2021 18:59:15 -0700 Subject: [PATCH] typo --- SC2145.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2145.md b/SC2145.md index 05550a4..3dc6566 100644 --- a/SC2145.md +++ b/SC2145.md @@ -26,7 +26,7 @@ printf "Error: %s\n" "Bad parameters: " "${ARRAY_VAR[@]}" ### Rationale: -The behavior when concatenating a string and array is rarely intended. The preceeding string is prefixed to the first array element, while the succeeding string is appended to the last one. The middle array elements are unaffected. +The behavior when concatenating a string and array is rarely intended. The preceding string is prefixed to the first array element, while the succeeding string is appended to the last one. The middle array elements are unaffected. E.g., with the parameters `foo`,`bar`,`baz`, `"--flag=$@"` is equivalent to the three arguments `"--flag=foo" "bar" "baz"`.