On 7/15/18 2:19 PM, konsolebox wrote:
> Hi Chet,
> 
> As noted in the manual a "variable is a parameter denoted by a name",
> and a parameter "is an entity that stores values; it can be a name, a
> number, or one of the special characters."
> 
> But as observed, variable indirection doesn't only expand "variables".
> It also expands other forms of parameters including array elements,
> array[@], and special parameters like @.

True, though I think "variable indirection" is a more approachable way to
describe the feature. I think the description in the man page, and
especially the contexts where it appears, makes it clear that it works on
the `parameter' in ${[!]parameter[op[word]]}. If you think it would read
more clearly if I used `parameter' instead of `variable', I can look at
doing that.

-- 
``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/

Reply via email to