摘要: str= if [ -n $str ]; then echo str is not empty fi 看到str is not empty. 把它改对有两三种方法:① "$str" ② 把[改成[[ ③ ①+② which [可发现[是/usr/bin/[,而help [[发现[[是bash内置命令 阅读全文
posted @ 2025-10-12 19:44 华容道专家 阅读(5) 评论(0) 推荐(0)