From 1e8f294abb941ed5cb5690265f2e523b24d8c283 Mon Sep 17 00:00:00 2001 From: Anthony Thyssen Date: Wed, 25 Oct 2017 11:12:53 +1000 Subject: [PATCH] Example of ignoring the error --- SC2086.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SC2086.md b/SC2086.md index 7beaf03..f58543f 100644 --- a/SC2086.md +++ b/SC2086.md @@ -83,4 +83,12 @@ This is better than an unquoted value because the alternative value can be prope --- -As always, this warning can be [[ignore]]d on a case-by-case basis. \ No newline at end of file +As always, this warning can be [[ignore]]d on a case-by-case basis. +this is especially relevant when BASH many not be available for the array work around. +For example... +```sh +FLAGS="-av --delete --delete-excluded +... +# shellcheck disable=SC2086 +rsync $FLAGS ~/dir remote_host:dir +```