shell中 [: =: unexpected operator

注意此时要将变量加上“”,不然当变量为空时,会出现[: =: unexpected operator

原文地址:https://www.cnblogs.com/xiongqiangcs/p/3022921.html