11 2019 档案

摘要:1.通配符 string='My long string' if [[ $string == *"My long"* ]]; then echo "It's there!" fi 2.正则匹配 string='My long string' if [[ $string =~ .*My.* ]]; t 阅读全文
posted @ 2019-11-05 10:35 云刄 阅读(9694) 评论(0) 推荐(0)