On Mon, Aug 09, 2021 at 05:35:56PM -0400, Franklin, Jason wrote:
> Should bash, invoked with "--posix" or as "sh", omit the special
> treatment of variables such as GROUPS?

I would say no.  Using all-caps variable names is a bad idea for
precisely this reason -- you never know when it'll be something
special, in your shell or in your operating system.

Always use at least one lower-case letter in each variable name, unless
you're actually exporting something as an environment variable, and
you know that the name is not used by anything else in your working
environment.

Reply via email to