diff --git a/SC2207.md b/SC2207.md index dbaf47a..08f5aa3 100644 --- a/SC2207.md +++ b/SC2207.md @@ -56,4 +56,7 @@ This prevents the shell from doing unwanted splitting and glob expansion, and th ### Exceptions: -If you have already taken care (through setting IFS and `set -f`) to have word splitting work the way you intend, you can ignore this warning. \ No newline at end of file +If you have already taken care (through setting IFS and `set -f`) to have word splitting work the way you intend, you can ignore this warning. + +Another exception is the wish for error handling: `array=( $(mycommand) ) || die-with-error` works the way it looks while a similar `mapfile` construct like `mapfile -t array < <(mycommand)` **doesn't fail** and you will have to write more code for error handling. +``` \ No newline at end of file