Add a script to fetch and parse emoji-test.txt and print all emojis - localbin - leot's localbin (~/bin)
 (HTM) hg clone https://bitbucket.org/iamleot/localbin
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset 18560be5987e327af4c29668d52dd1ab26fca7a6
 (DIR) parent bfbb5c149e1fab792cf56d08cbf8328ec9f7097c
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sat, 15 Jun 2019 13:09:21 
       
       Add a script to fetch and parse emoji-test.txt and print all emojis
       
       Diffstat:
        emojis |  17 +++++++++++++++++
        1 files changed, 17 insertions(+), 0 deletions(-)
       ---
       diff -r bfbb5c149e1f -r 18560be5987e emojis
       --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
       +++ b/emojis    Sat Jun 15 13:09:21 2019 +0200
       @@ -0,0 +1,17 @@
       +#!/bin/sh
       +
       +#
       +# Generate a TSV of all emojis by parsing emoji-test.txt:
       +#
       +#  <https://unicode.org/Public/emoji/5.0/emoji-test.txt>
       +#
       +# The fields are:
       +#  codepoint, emoji, description
       +#
       +# All emojis with multiple codepoint are ignored.
       +#
       +
       +curl -s https://unicode.org/Public/emoji/5.0/emoji-test.txt |
       +    sed -e '/^#/d' -e '/^[[:blank:]]*$/d'  -e 's/;/    /' -e 's/# /    /' |
       +    cut -f 1,3 |
       +    sed -e 's/[[:blank:]]*     /       /' -e '/ .*     /d' -e 's/ /    /'