runspb2.sh
来自「手机短信。。代码自己看。。希望大家喜欢。对大家有帮助」· Shell 代码 · 共 18 行
SH
18 行
#!/bin/sh
errorexit() {
echo $1
exit 1
}
cp spb2.pb spb-copy.pb || errorexit "could not copy spb2.pb to spb2-copy.pb"
# run the test
./testspb > testspb2.log
# add new contents of phonebook file to the test log
cat spb-copy.pb >> testspb2.log
# check if output differs from what it should be
diff testspb2.log testspb2-output.txt
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?