shell判断变量是否为空 发表于: 2021-09-24 2021-09-24 分类: SRE 标签: bash, https, shell #!/bin/sh dmin= if [ "$dmin" = "" ] then echo "dmin is not set!" else echo "dmin is set !" fi 文章导航 前一页 上一篇: shell浮点数比较后一页 下一篇: ERROR 1093 (HY000): You can’t specify target table ‘message’ for update in FROM clause dn 259RSS订阅