摘要: #!/bin/bash tmp="test,girl,boy,love" OLD_IFS="$IFS" IFS="," arr=($a) IFS="$OLD_IFS"echo "arr[0] is: ${arr[0]}"echo "arr len: ${#arr[@]}" for s in ${ar 阅读全文
posted @ 2018-08-27 15:27 faithfu 阅读(4767) 评论(0) 推荐(0) 编辑