runssms.sh

来自「开发手机AT指令的源码」· Shell 代码 · 共 22 行

SH
22
字号
#!/bin/sherrorexit() {    echo $1    exit 1}rm -f sms.sms || errorexit "could not delete sms.sms"touch sms.sms || errorexit "could not create sms.sms"# prepare locales to make date format reproducibleLC_ALL=en_USLANG=enLINGUAS=enexport LC_ALL LANG LINGUAS# run the test./testssms > testssms.log# check if output differs from what it should bediff testssms.log testssms-output.txt

⌨️ 快捷键说明

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