From c9a27cd82c30ce819544ba5e8a18e01f4a4c162c Mon Sep 17 00:00:00 2001 From: sig-daveka Date: Tue, 25 Jan 2022 10:49:14 -0500 Subject: [PATCH] Try to document an exception as requested in https://github.com/koalaman/shellcheck/issues/2434 --- SC2184.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2184.md b/SC2184.md index f423c07..70e83ef 100644 --- a/SC2184.md +++ b/SC2184.md @@ -21,4 +21,4 @@ Quoting so that the `[..]` is passed literally to `unset` solves the issue. ### Exceptions: -None. \ No newline at end of file +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`. \ No newline at end of file