SC2116
This commit is contained in:
parent
def372fcc6
commit
2e2de836bd
1 changed files with 2 additions and 2 deletions
|
@ -40,11 +40,11 @@ pike run_many_games.pike -f ${PRG_2} -s ${PRG_1} -o ${GAME_DIR} -n ${NB_GAMES_PE
|
||||||
echo " ================"
|
echo " ================"
|
||||||
} > ${GAME_DIR}/resume.txt
|
} > ${GAME_DIR}/resume.txt
|
||||||
|
|
||||||
STR_WIN1=$(${PRG_1} win)
|
STR_WIN1=$(printf "%s\n" ${PRG_1} win)
|
||||||
NB_WIN1=$(grep -c "${STR_WIN1}" ${GAME_DIR}/scores.txt)
|
NB_WIN1=$(grep -c "${STR_WIN1}" ${GAME_DIR}/scores.txt)
|
||||||
echo " ${PRG_1} is ${NB_WIN1}" >> ${GAME_DIR}/resume.txt
|
echo " ${PRG_1} is ${NB_WIN1}" >> ${GAME_DIR}/resume.txt
|
||||||
|
|
||||||
STR_WIN2=$(${PRG_2} win)
|
STR_WIN2=$(printf "%s\n" ${PRG_2} win)
|
||||||
NB_WIN2=$(grep -c "${STR_WIN2}" ${GAME_DIR}/scores.txt)
|
NB_WIN2=$(grep -c "${STR_WIN2}" ${GAME_DIR}/scores.txt)
|
||||||
{
|
{
|
||||||
echo " ${PRG_2} is ${NB_WIN2}"
|
echo " ${PRG_2} is ${NB_WIN2}"
|
||||||
|
|
Reference in a new issue