📄 case.ksh
字号:
#!/bin/ksh# Script name: case.kshmth=$(date +%m)case $mth in02) print "February usually has 28 days." print "If it is a leap year, it has 29 days." ;;04|06|09|11) print "The current month has 30 days." ;; *) print "The current month has 31 days." ;;esac
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -