1 #!/bin/bash 2 3 f=~/.cache/emojis 4 5 [[ ! -f $f ]] && 6 curl -Ls http://www.unicode.org/Public/emoji/latest/emoji-test.txt | 7 awk -F '# ' '/; fully-qualified/ { print $2 }' | sed 's/E[^ ]* //' > $f 8 9 cat $f