runspbi.sh

来自「手机短信。。代码自己看。。希望大家喜欢。对大家有帮助」· Shell 代码 · 共 19 行

SH
19
字号
#!/bin/sh

errorexit() {
    echo $1
    exit 1
}

cp spbi2-orig.pb spbi2.pb ||
    errorexit "could not copy spbi2-orig.pb to spbi2.pb"
    
# run the test
../apps/gsmpb -V -i -s spbi1.pb -d spbi2.pb > testspbi.log

# add new contents of phonebook file to the test log
cat spbi2.pb >> testspbi.log

# check if output differs from what it should be
diff testspbi.log testspbi-output.txt

⌨️ 快捷键说明

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