On 1/10/16 3:50 PM, Linda Walsh wrote: > Yeah, sorta but I want it to do variable expansion AND quote removal.
Then you do have to use eval with appropriate quoting. > I.e. using a var or DQ of the object-name, "a", works in declare. You should consider the difference between an argument to a simple command (declare) and an element of the shell grammar, since one undergoes word expansions and the other does not. -- ``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/