unicode-emoji/unicode-emoji-autoupdate

16 lines
388 B
Bash

#!/bin/sh
# by Silvan Calarco <silvan.calarco@mambasoft.it>
VERSION=$1
URL=https://unicode.org/Public/emoji/$VERSION/
rm -rf unicode-emoji-$VERSION
mkdir unicode-emoji-$VERSION
cd unicode-emoji-$VERSION
wget ${URL}{ReadMe.txt,emoji-sequences.txt,emoji-test.txt,emoji-zwj-sequences.txt}
cd ..
tar -cjf unicode-emoji-$VERSION.tar.xz unicode-emoji-$VERSION
rm -rf unicode-emoji-$VERSION