On 7/23/15 6:52 PM, isabella parakiss wrote:

> 
> No.  Don't minimize this, it's not only about BASH_REMATCH.

OK.  You did, however, spend an entire message on it.

> The fact that a certain special variable is readonly for no real reason
> doesn't change this absurd nonsense about any other global variable.

Here's the thing: readonly is a rarely-used feature compared to most
others.  There are not a lot of readonly variables, and I'm asserting
that script authors mark variables as readonly for a reason.  It's
worthwhile to figure out why a variable is readonly and see if you're
circumventing the author's intent by shadowing it.  In the case of
BASH_REMATCH, I explained why it is readonly.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to