cc: [email protected]
Subject: Re: Re: [ast-users] Enumerate member variable names in compound
variable?
--------
> What about extending the current ${!var*} syntax to allow it to
> restrict the members to one level? I tried doing this but it didn't
> work:
>
> $ compound x=( a=1 b=2 c=3 compound d=( a=1 b=2 compound z=( y=3 )) )
>
> $ echo ${!x.d.[a-z]*}
>
> $ echo ${!x.d.[!.]}
> x.d.[!.]
>
>
>
If I were to extend, then . would be treated as / is for shell patterns.
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users