]> git.sesse.net Git - remoteglot-book/blobdiff - find-pgn-split-point.sh
Set parallel merges to a value different from parallel loads.
[remoteglot-book] / find-pgn-split-point.sh
index b23bc339872c249ddb8f158c620c5cd072936a7c..111beaecc30a0341fd53750f8fa76050235317b0 100755 (executable)
@@ -24,8 +24,4 @@ split_point() {
        fi
 }
 
-FROM=$( split_point "$FILE" $P $NUM )
-TO=$( split_point "$FILE" $(( P + 1 )) $NUM )
-SIZE=$(( TO - FROM ))
-
-tail -c +$FROM "$FILE" | head -c $SIZE
+split_point "$FILE" $P $NUM