shell判斷變量是否屬於數組

if [[ "${arr[*]}" =~ ${var} ]]ide =~ 正則匹配 blog 轉載於:https://blog.51cto.com/chlipeng/1698775ip
相關文章
相關標籤/搜索