From 24c12c1cc424d67daf7ed64c47e903a05daed5b9 Mon Sep 17 00:00:00 2001 From: vonavi Date: Sat, 6 Sep 2014 16:03:33 +0400 Subject: [PATCH] Script 'parse-games': fix showing the result of game. --- parse-games | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse-games b/parse-games index dfe94b3..2104a6e 100755 --- a/parse-games +++ b/parse-games @@ -51,7 +51,7 @@ function parse_to_ini { [[ ! $date =~ \? ]] && echo "date = $date" echo "white = $white" echo "black = $black" - echo "result = '$result'" + [[ -n $result ]] && echo "result = \"$result\"" echo }