here-function.sh
来自「Shall高级编程」· Shell 代码 · 共 33 行
SH
33 行
#!/bin/bash# here-function.shGetPersonalData (){ read firstname read lastname read address read city read state read zipcode} # This certainly looks like an interactive function, but...# Supply input to the above function.GetPersonalData <<RECORD001BozoBozeman2726 Nondescript Dr.BaltimoreMD21226RECORD001echoecho "$firstname $lastname"echo "$address"echo "$city, $state $zipcode"echoexit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?