#!/bin/bash
declare -A APPPORT
APPPORT=([zhaocancan]=159****1876)
for key in ${!APPPORT[*]}
do
echo $key phone is ${APPPORT[$key]}
done
#zhaocancan phone is 159****1876
本文转自 freeterman 51CTO博客,原文链接:http://blog.51cto.com/myunix/1687620,如需转载请自行联系原作者