shell 数组(in_array)

if [[ ! "${array[@]}" =~ $val ]] ; then
    
fi

 

posted @ 2013-07-18 01:02  rubekid  阅读(971)  评论(0编辑  收藏  举报