#!/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
转载于:https://blog.51cto.com/myunix/1687620
#!/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
转载于:https://blog.51cto.com/myunix/1687620