nosy

来自「Unix Shell编程权威指南的配套源代码,书是好书,不过习题没有答案,要自己」· 代码 · 共 18 行

TXT
18
字号
#!/bin/ksh# Scriptname: nosyprint -n "Are you happy? "read answerprint "$answer is the right response."print -n "What is your full name? "read first middle lastprint "Hello $first"print -n "Where do you work? "readprint I guess $REPLY keeps you busy!read place?"Where do you live? " # New ksh read and print combinedprint Welcome to $place, $first $last

⌨️ 快捷键说明

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