diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-14 05:09:16 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-14 05:09:16 +0300 |
commit | 27c5d085d585556eb19588fbdeca82a30b82818e (patch) | |
tree | 6bfe9f8b4206b94266de7853e7f611cc590c9aa1 | |
parent | add a game (diff) | |
download | chess-games-27c5d085d585556eb19588fbdeca82a30b82818e.tar.gz chess-games-27c5d085d585556eb19588fbdeca82a30b82818e.zip |
setenv.sh: whitespace handling in pgn_strip_clk
Diffstat (limited to '')
-rwxr-xr-x | setenv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ pgn_lint() { } # Strips [%clk] tags from PGN files. -alias pgn_strip_clk='sed --binary --in-place -- '"'"'s/ {\[%clk [[:digit:]]\+:[[:digit:]]\+\(:[[:digit:]]\+\)*\]}//g'"'" +alias pgn_strip_clk='sed --binary --in-place -- '"'"'s/ {\s*\[%clk [[:digit:]]\+:[[:digit:]]\+\(:[[:digit:]]\+\)*\]\s*}//g'"'" # Places main line moves on separate lines. alias pgn_slice_moves='sed --binary --in-place -- '"'"'s/ \([[:digit:]]\+\.\)/\n\1/g'"'" |