ICode9

精准搜索请尝试: 精确搜索
  • Linux shell if [ -n ] 正确使用方法2022-07-13 16:32:58

    Linux shell if [ -n ] 正确使用方法 if [ str1 = str2 ]       当两个串有相同内容、长度时为真 if [ str1 != str2 ]      当串str1和str2不等时为真 if [ -n str1 ]       当串的长度大于0时为真(串非空) if [ -z str1 ]        当串的长度为0时为

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有