How can I convert if elif else fi to case statement in bash?

后端 未结 0 1096
悲&欢浪女
悲&欢浪女 2020-12-15 03:29

I have an if elif elif else fi statement I want to convert to a case statement in bash scripting. Here is the code:

if [[ -n $1 ]] && [[ -n $2 ]] &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题