mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
minor fix
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user