Scripts: modify regexps, because no slash anymore in game results.
This commit is contained in:
parent
f9b2b32e20
commit
e9bafd8838
2
game-add
2
game-add
@ -292,7 +292,7 @@ function game_update_info {
|
||||
echo "Updating file ${tour_info}..."
|
||||
local date=${game_date:8:2}.${game_date:5:2}.${game_date::4}
|
||||
sed -E -i.orig \
|
||||
"s|^${DATE_RE}( +${white} +- +${black}).*|${date}\1${sep}${result}|" \
|
||||
"s/^${DATE_RE}( +${white} +- +${black}).*/${date}\1${sep}${result}/" \
|
||||
$tour_info
|
||||
rm ${tour_info}.orig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user