From a90e4e8b85cfe218325586176c97c3f4693e1896 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 5 Dec 2020 12:44:35 -0800 Subject: [PATCH] Remove incorrect example that's better handled by SC2089 --- SC2086.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/SC2086.md b/SC2086.md index bebdfd1..d1650e4 100644 --- a/SC2086.md +++ b/SC2086.md @@ -92,14 +92,4 @@ cmd <<< $var # Requires quoting on Bash 3 (but not 4+) --- -As always, this warning can be [[ignored|ignore]] on a case-by-case basis. - -This is especially relevant when BASH may not be available for the array work around. -For example, use in eval or in command options where script has total control of the variables... - -```sh -FLAGS="-av -e 'ssh -x' --delete --delete-excluded" -... -# shellcheck disable=SC2086 -eval rsync $FLAGS ~/dir remote_host:dir -``` \ No newline at end of file +As always, this warning can be [[ignored|ignore]] on a case-by-case basis. \ No newline at end of file