You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed awk & gawk via their website and added the awk path in my PATH environment variable. When i try to run the code: awk -vFPAT='([^ ]*)|("[^"]+")' -f convert_pgn_to_json.awk game.pgn for the game.pgn file via Windows PowerShell terminal, no output is generated on the terminal except a generic awk info and no output .json file is also generated.
If i remove -vFPAT='([^ ]*)|("[^"]+")' from the code above, there's in-terminal output of the game moves and other info in a textual json like format. If i save that by doing this: awk -f convert_pgn_to_json.awk game.pgn > game.json then a file is generated but the output is not in a json like tree format as seen in your already existing game.json file.
What can be done in this case?
The text was updated successfully, but these errors were encountered:
I installed awk & gawk via their website and added the awk path in my PATH environment variable. When i try to run the code:
awk -vFPAT='([^ ]*)|("[^"]+")' -f convert_pgn_to_json.awk game.pgn
for the game.pgn file via Windows PowerShell terminal, no output is generated on the terminal except a generic awk info and no output .json file is also generated.If i remove
-vFPAT='([^ ]*)|("[^"]+")'
from the code above, there's in-terminal output of the game moves and other info in a textual json like format. If i save that by doing this:awk -f convert_pgn_to_json.awk game.pgn > game.json
then a file is generated but the output is not in a json like tree format as seen in your already existing game.json file.What can be done in this case?
The text was updated successfully, but these errors were encountered: