From a0267b3a4af8fe6408a5332ee8f443a0ad4477b3 Mon Sep 17 00:00:00 2001 From: Van Driessche Vincent Date: Fri, 18 Jan 2019 15:21:17 +0000 Subject: [PATCH] Adds notice about subtle nuances of this helper-parameter --- SC2124.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SC2124.md b/SC2124.md index e0d67ff..3825fff 100644 --- a/SC2124.md +++ b/SC2124.md @@ -1,5 +1,10 @@ ## Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. +### Danger! + +> Changing this parameter can be dangerous. It's behavior is influenced by the value of `IFS`. In certain situations (like feeding strings into commands) this can result in unexpected results from a seemingly esthetic-only change. +[[More info]](https://wiki.bash-hackers.org/syntax/shellvars#special_parameters_and_shell_variables) + ### Problematic code: ```sh