shell 数组(in_array)

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

 

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