linux里while [-n "$1"]这里的-n是什么意思?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/18 10:22:25
linux里while[-n"$1"]这里的-n是什么意思?linux里while[-n"$1"]这里的-n是什么意思?linux里while[-n"$1"]这里的-n是什么意思?-nstr,字符串不

linux里while [-n "$1"]这里的-n是什么意思?
linux里while [-n "$1"]这里的-n是什么意思?

linux里while [-n "$1"]这里的-n是什么意思?
-n str,字符串不为null,长度大于零