?? runspb.sh
字號:
#!/bin/sh
errorexit() {
echo $1
exit 1
}
cp spb.pb spb-copy.pb || errorexit "could not copy spb.pb to spb-copy.pb"
# run the test
./testspb > testspb.log
# add new contents of phonebook file to the test log
cat spb-copy.pb >> testspb.log
# check if output differs from what it should be
diff testspb.log testspb-output.txt
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -