Robert Elz <kre@munnari.OZ.AU> writes:
> | What seems to be the case with sh-style shells and Posix is that
> | all-caps variable names are subject to implementation-specific use, and
> | so users should not use them except when using them in the way that is
> | specific to the implementation the script is to be executed on.
>
> That could have been done, once perhaps, but it is way too late now.
> There is no such rule anywhere in POSIX sh, and scripts using upper
> case var names abound in the world, there's no chance that they're
> going away.
I was more looking at it as what sort of advice one should give to
people who want to write "portable" scripts that won't be blindsided by
a shell that makes some upper-case word special. Though it's quite
possible that the bash manual page contains that advice somewhere that
I've not looked at.
Dale