[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ast-users
Subject:    [ast-users] .sh.match usage
From:       dgk () research ! att ! com (David Korn)
Date:       2004-06-22 21:07:40
Message-ID: 200406230107.VAA40214 () raptor ! research ! att ! com
[Download RAW message or body]


> I am currently using ksh93 "Version M 1993-12-28 n+" for a project.   
> the man pages say that .sh.match is "An indexed array", however,  I 
> cannot do things I can do with other indexed arrays.  for example, with 
> normal indexed arrays I can retrieve the number of elements, the names 
> of the indexes, or all the values with ${#array[@]}, ${!array[@]}, and 
> ${array[@]} respectively.  Is this expected (or rather preferred) 
> behaviour and will it possibly change in future releases.  Or am I just 
> trying to access the information incorrectly.
> 
> 
> Joe Gainey
> 
> 
> 

This is a deficiency in the current implementation.  I will add
this to my todo list for a future release.

David Korn
dgk@research.att.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic