标签:white pre gre bash case $1 echo one ash
#!/bin/bashcase $1 in
1|one|first)echo redhat;;
2)echo yellow;;
3)echo green;;
*)echo blue;;
esac
标签:white pre gre bash case $1 echo one ash
原文地址:http://blog.51cto.com/13560258/2065298