--- Bash的数组遍历

 
1.  读入:  read -a A < <(echo a b c d e f g)
 2. 遍历输出:  echo "${A[@]}"

posted on 2016-12-21 11:15  linuxdog  阅读(411)  评论(0)    收藏  举报

导航