Re: GLOBIGNORE

Koichi Murase <[email protected]> Tue, 5 May 2026 11:22:05 +0900
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <CAFLRLk9CtKq_toMtHCT+zBMBHvE+UPJgfE07G48CwcKONZj_rw@mail.gmail.com>
2026年5月5日(火) 4:27 Chet Ramey <[email protected]>:
> GLOBIGNORE has been around 30+ years (I implemented it in 1995 and it
> first appeared in bash-2.0), and I can't recall my thought process
> from back then.

I think one reason was given in the following thread:

https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00036.html
> Yes, GLOBIGNORE doesn't have any effect when it appears in the environment.
> It makes shell scripts fail in erratic and unpredictable ways.  If you
> want to use GLOBIGNORE, you have to do something affirmative.

--
Koichi