时间:2024-10-12 01:10:00
1、字符串运算符
3、检测字符串长度是否不为 0,不为 0 返回 trueif[-n"$a"]then echo"-n$a: 字符串长度不为 0"else echo"-n$a: 字符串长度为 0"fi