goodboys
来自「Advanced Bash− Scripting Guide An 」· 代码 · 共 21 行
TXT
21 行
#!/bin/ksh# Script name: goodboys# Example 10.106PS3="Please choose one of the three boys : "select choice in tom dan guydo case $choice in tom) print Tom is a cool dude! break;; #break out of the select loop dan | guy ) print Dan and Guy are both sweethearts. break;; *) print " $REPLY is not one of your choices" 1>&2 print "Try again." ;; esacdone
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?