linux shell判断字符串包含(类似于contains) 编程语言 2022-06-29 04:47 0 阅读 if echo "$string" | grep 'foo'; then echo "It's there!" fi 猜你喜欢