⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example15.11

📁 UNIX[1].shell范例精解(第4版)_code
💻 11
字号:
#! /bin/kshprint "Do you want to see the menu?"read answerif [[ $answer = y ]]then	cat << EOF           <-- No space after user defined terminator	1) Steak and eggs	2) Fruit and yogurt	3) Pie and icecream	EOF                  <-- User-defined terminator cannot 	                         have spaces surrounding it 	print "Pick one "	read choice	case "$choice" in		1) print "Cholesterol"			;;		2) print "Dieter"			;;		3) print "Sweet tooth"			;;	esac else	print "Later alligator!"fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -