Simple bash script that prints emojis in a terminal.
Paul Quappe 4dba96d41f Initial commit. | 9 ay önce | |
---|---|---|
docs | 9 ay önce | |
src | 9 ay önce | |
LICENSE | 9 ay önce | |
README.md | 9 ay önce | |
emoji.txt | 9 ay önce |
Bash script that prints emojis in a terminal.
Make sure you have installed the proper fonts like e.g: Symbola, DingBats, FreeFont etc. or otherwise the emoji's cannot be printed on the terminal 👀.
You can see the entire list of emojis in the 'Unicode characters specification' 👁.
Print a single emoji on the terminal like this:
> echo -e '\U1F604'
😄
> for i in {9312..9316};
do hex=$(printf "%02X" ${i});
echo -e "U+${hex}";
done
The output of the script can be seen here. If your browser cannot render it you can open it in a terminal 😉.
Some fonts are hard to come by.
Did you know that you can extract fonts embedded in a pdf file?
See here for more detailed information. Just telling in case you should need it 😋.