This commit is contained in:
Jon 2022-03-31 17:12:23 +01:00
parent eca44ef856
commit 6362b0a28d

View File

@ -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