G1PalPay.sh

This commit is contained in:
fred 2023-01-03 23:38:56 +01:00
parent 1e5d3d7dc5
commit 0c69039a89
1 changed files with 3 additions and 2 deletions

View File

@ -58,9 +58,10 @@ ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dun
&& exit 1
## DEBUG ## cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/$PLAYER.history.json | jq -r
cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/$PLAYER.history.json | jq -rc .[] | grep '@' > ~/.zen/tmp/${MOATS}/myPalPay.json
## GET @ in JSON INLINE
for LINE in $(cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/$PLAYER.history.json | jq -rc .[] | grep '@'); do
while read LINE; do
echo "MATCHING IN COMMENT"
JSON=$LINE
@ -129,7 +130,7 @@ for LINE in $(cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/$PLAYER.history.jso
done
done
done < ~/.zen/tmp/${MOATS}/myPalPay.json
### NEXT #####