第一关代码

This commit is contained in:
fzm 2017-12-24 23:46:17 +08:00
parent c26024b4e2
commit fd19dd6ea2
1 changed files with 3 additions and 3 deletions

View File

@ -2,10 +2,10 @@
ls
sh code.sh >> result.txt
sh answer.sh >> answer.txt
sh case1/code.sh >> result.txt
sh case1/answer.sh >> answer.txt
diff result.txt answer.txt > /dev/null
if [ $? = 0 ]; then
sh code.sh
sh case1/code.sh
fi