>When expanding a wildcard following a partially quoted pathname,
[...]
>Test case:
I edited the commands in the test case when an additional thought
occurred to me (the a/"b vs. a/b" distinction) but forgot to update
the corresponding output lines. My apologies. Proper test case:
bash-5.0$ chmod 700 /tmp/a
bash-5.0$ rm -r /tmp/a
bash-5.0$ mkdir -m700 /tmp/a /tmp/a/b
bash-5.0$ touch /tmp/a/b/c
bash-5.0$ echo /tmp/a/b/* "/tmp/a/"b/* "/tmp/a/b"/*
/tmp/a/b/c /tmp/a/b/c /tmp/a/b/c
bash-5.0$ chmod -r /tmp/a
bash-5.0$ echo /tmp/a/b/* "/tmp/a/"b/* "/tmp/a/b"/*
/tmp/a/b/c /tmp/a/b/c /tmp/a/b/*
--Andrew Church
http://achurch.org/