nosy

来自「UNIX[1].shell范例精解(第4版)_code」· 代码 · 共 18 行

TXT
18
字号
#!/bin/bash# Scriptname: nosyecho -e "Are you happy? \c"read answerecho "$answer is the right response."echo -e "What is your full name? \c"read first middle lastecho "Hello  $first"echo -n "Where do you work? "readecho I guess $REPLY keeps you busy!read -p "Enter your job title: "echo "I thought you might be an $REPLY."echo -n "Who are your best friends? "read -a friendsecho "Say hi to ${friends[2]}." 

⌨️ 快捷键说明

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