mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Adds notice about subtle nuances of this helper-parameter
@@ -1,5 +1,10 @@
|
|||||||
## Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
|
## 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:
|
### Problematic code:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Reference in New Issue
Block a user