这个问题专门针对shell脚本,但可能与任何编程语言有关.
使用多个if语句和elif在shell脚本中使用语句有什么区别吗?并且,case声明在我的情况下不起作用.
if
elif
case
shell if-statement
if-statement ×1
shell ×1