Re: Parameter indirection

2018-07-24 Thread konsolebox
On Mon, Jul 16, 2018 at 6:00 AM, Chet Ramey wrote: > 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 ${[!]

Re: Parameter indirection

2018-07-15 Thread Chet Ramey
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 ex

Parameter indirection

2018-07-15 Thread konsolebox
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 par