Introduction
Introduction Statistics Contact Development Disclaimer Help
generate.sh: fix to detect possible rook promotion and support uppercase - ches…
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit 34e46a6fdd7cddde422a6b75c285879951d540e9
parent 0dcd2f065cb678018fb2e30055550987705a09c5
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 22 Jan 2024 01:09:24 +0100
generate.sh: fix to detect possible rook promotion and support uppercase
Diffstat:
M generate.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/generate.sh b/generate.sh
@@ -276,7 +276,7 @@ while read -r line; do
m="${m% }"
m="${m%[a-h][0-9][a-h][0-9]}"
- m="${m%[qnb]}" # possible promotion
+ m="${m%[qrbnQRBN]}" # possible promotion
m="${m% }"
test "$prevmoves" = "$m" && break # same, break also
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.