# Example from bottom of page 70 # The following example demonstrates associative arrays. typeset -A color color=( [apple]=red [grape]=purple [banana]=yellow ) print -- ${!color[@]} # print list of subscripts print -- ${color[@]} # print list of elements