diff --git a/flash b/flash index fb2f482..7d5337d 100755 --- a/flash +++ b/flash @@ -232,7 +232,7 @@ esac print_head(){ QUESTION=$(echo "${q[1]}" | fold --spaces --width=59) echo -e "${WHITEBG} Fla.sh - Flash Cards In Your Terminal ${NC} -${ORANGE}${BOLD} Current Deck:${BOLD}${NC}\t$(basename -s .csv $CURRENT_DECK) +${ORANGE}${BOLD} Current Deck:${BOLD}${NC}\t$(basename -s .csv "$CURRENT_DECK") ${ORANGE}${BOLD}Cards Reviewed:${BOLD}${NC}\t$COUNTER \t${ORANGE}${BOLD}High Score:${BOLD}${NC}\t$(cat "$HIGH_SCORE") \t${ORANGE}${BOLD}Avg review:${BOLD}${NC}\t$(awk '{ sum += $7; n++ } END { if (n > 0) print sum / n; }' "$REVIEW_LOG")