On 7/17/18 5:19 PM, Grisha Levit wrote: > When there is a variable with a name that includes a subscript in the > environment, test -v looks at that variable rather than an array with > that subscript.
Even though bash needs to do a better job to segregate environment variables with invalid names, there are a couple of changes I can make to the test -v code to improve it, too. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/