--- Bash的数组遍历

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

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

导航