From f0dbd5833c8db684c3d3035e4a0c5e5bd1f7b287 Mon Sep 17 00:00:00 2001 From: Samuel Richardson Date: Sat, 1 Feb 2020 21:39:10 +1100 Subject: [PATCH 1/2] Added help on how to find compilation help --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a1c6549..9ef8d2b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ Run powerful and flexible queries on **very big chessdatabases** and with **very high speed**. +## Compiling + +Scoutfish needs to be compiled before use as binaries are not provided. To see help on how to compile: + + cd src && make help + +## Getting started + Start building an index out of a [PGN](https://en.wikipedia.org/wiki/Portable_Game_Notation) file: ./scoutfish make my_big_db.pgn From e30d0ba6ee59ad1b75e487871a5aec1b8572ac86 Mon Sep 17 00:00:00 2001 From: Samuel Richardson Date: Sat, 1 Feb 2020 21:39:37 +1100 Subject: [PATCH 2/2] Quoted arguments in command Without these quotes you will get a syntax error using the instructions in the readme verbatim. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ef8d2b..8b2acff 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Search result will be in JSON too. You can run Scoutfish from the command line: - ./scoutfish scout my_big_db.scout { "sub-fen": "8/8/p7/8/8/1B3N2/8/8" } + ./scoutfish scout my_big_db.scout "{ \"sub-fen\": \"8/8/p7/8/8/1B3N2/8/8\" }" To find all the games that match the given **sub-fen** condition, i.e. all the games with at least one position with a black pawn in _a6_, a white bishop in