From 6362b0a28d4b340ae92ce300b7401d1cdc752e25 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 31 Mar 2022 17:12:23 +0100 Subject: [PATCH] add --- reactions/fetch-latest-format.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 reactions/fetch-latest-format.sh diff --git a/reactions/fetch-latest-format.sh b/reactions/fetch-latest-format.sh new file mode 100755 index 0000000..da0b8f3 --- /dev/null +++ b/reactions/fetch-latest-format.sh @@ -0,0 +1,6 @@ +#!/bin/sh +base="https://raw.githubusercontent.com/milesj/emojibase/master/packages/data/en" +for file in compact.raw.json data.raw.json; do + echo "$file:" + curl -sf "$base/$file" | jq '.[] | select(.hexcode == "2721")' || exit $? +done