【shell比较字符串】
2019-07-02 19:47 ZealouSnesS 阅读(356) 评论(0) 编辑 收藏 举报if [ 'AAA' = 'ABC' ]; then echo "the same" else echo "not the same" fi
shell比较字符串只能用=,不能用eq!
if [ 'AAA' = 'ABC' ]; then echo "the same" else echo "not the same" fi
shell比较字符串只能用=,不能用eq!