]> git.sesse.net Git - remoteglot-book/blobdiff - parallel-parse-pgn.sh
Reuse the remoteglot library for a new book project.
[remoteglot-book] / parallel-parse-pgn.sh
diff --git a/parallel-parse-pgn.sh b/parallel-parse-pgn.sh
new file mode 100755 (executable)
index 0000000..79fa440
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+FILE=$1
+for X in $( seq 0 39 ); do
+       ( ./parse-pgn.pl $FILE $X 40 >> part-$X.bin ) &
+done
+wait