From eccd260478b40965a2cadf3893f2632e8b2e415d Mon Sep 17 00:00:00 2001 From: Anthony Thyssen Date: Wed, 25 Oct 2017 11:15:43 +1000 Subject: [PATCH] minor fix --- SC2086.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SC2086.md b/SC2086.md index f58543f..cc20034 100644 --- a/SC2086.md +++ b/SC2086.md @@ -85,10 +85,10 @@ 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. this is especially relevant when BASH many not be available for the array work around. -For example... +For example, use in eval or in command options where script has total control of the variables... ```sh -FLAGS="-av --delete --delete-excluded +FLAGS="-av -e 'ssh -x' --delete --delete-excluded" ... # shellcheck disable=SC2086 -rsync $FLAGS ~/dir remote_host:dir +eval rsync $FLAGS ~/dir remote_host:dir ```