select,case
-
select与case组合循环
select与case: 格式: select variable in list do 循环体命令 done 例1: #!/bin/bash PS3="what do you want: " select i in a b c d #在例2中省略…
select与case: 格式: select variable in list do 循环体命令 done 例1: #!/bin/bash PS3="what do you want: " select i in a b c d #在例2中省略…