mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Try to document an exception as requested in https://github.com/koalaman/shellcheck/issues/2434
@@ -21,4 +21,4 @@ Quoting so that the `[..]` is passed literally to `unset` solves the issue.
|
||||
|
||||
### Exceptions:
|
||||
|
||||
None.
|
||||
If you know that pathname expansion is disabled you can ignore this message. `set -o noglob` (and variations like invoking the script with `#!/bin/bash -f`) will prevent glob expansion of arguments to `unset`.
|
Reference in New Issue
Block a user