runssms.sh
来自「一个实现手机收发短信的VC++串口编程源码」· Shell 代码 · 共 21 行
SH
21 行
#!/bin/sh
errorexit() {
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 reproducible
export LC_ALL=en_US
export LANG=en
export LINGUAS=en
# run the test
./testssms > testssms.log
# check if output differs from what it should be
diff testssms.log testssms-output.txt
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?