1
Fork 0

Fix: read the last line of tour_info.

master
vonavi 2013-09-30 08:38:17 +03:00
parent f97b14c14b
commit eebcd38bad
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ for tour in $@; do
url=https://raw.github.com/$repo/master/$tournament/tour_$tour/tour_info
echo ">>>"
curl -q --silent $url | while read line; do
curl -q --silent -w '\n' $url | while read line; do
if [[ -z $line ]]; then
echo
elif [[ -z $name || $(egrep "Тур|=|Время|$name" <<< "$line") ]]; then