2021-11-09 06:49:16 +03:00
|
|
|
#!/bin/zsh
|
2021-08-11 19:11:59 +03:00
|
|
|
|
2022-02-01 18:04:16 +03:00
|
|
|
# Save initial unicode version
|
|
|
|
local label=$(uuidgen)
|
|
|
|
printf "\e]1337;UnicodeVersion=push %s\e\\" $label
|
2021-08-11 19:11:59 +03:00
|
|
|
|
2022-02-01 18:04:16 +03:00
|
|
|
for version in 9 14 ; do
|
|
|
|
echo "\n### Unicode Version $version\n"
|
|
|
|
printf "\e]1337;UnicodeVersion=$version\e\\"
|
2021-11-25 18:53:07 +03:00
|
|
|
|
2022-02-02 16:57:08 +03:00
|
|
|
echo "|||"
|
|
|
|
echo -e "\u270c| Victory hand, text presentation by default"
|
|
|
|
echo -e "\u270c\ufe0e| Victory hand, explicit text presentation"
|
|
|
|
echo -e "\u270c\ufe0f| Victory hand, explicit emoji presentation"
|
2021-11-25 18:53:07 +03:00
|
|
|
|
2022-02-02 16:57:08 +03:00
|
|
|
echo -e "\u270a| Raised fist, emoji presentation by default"
|
|
|
|
echo -e "\u270a\ufe0e| Raised fist, explicit text presentation (invalid; no effect)"
|
|
|
|
echo -e "\u270a\ufe0f| Raised fist, explicit emoji presentation"
|
2022-02-01 18:04:16 +03:00
|
|
|
|
2022-02-02 16:57:08 +03:00
|
|
|
echo -e "\u2716| Multiply, text presentation by default"
|
|
|
|
echo -e "\u2716\ufe0e| Multiply, explicit text presentation"
|
|
|
|
echo -e "\u2716\ufe0f| Multiply, explicit emoji presentation"
|
2022-02-01 18:04:16 +03:00
|
|
|
|
2022-02-02 16:57:08 +03:00
|
|
|
echo -e "\U0001F468\u200D\U0001F467\u200D\U0001F466|"
|
|
|
|
echo "👨|"
|
|
|
|
echo -e "\U0001F6E5|"
|
|
|
|
echo -e "\U0001F6E5"
|
2022-02-01 18:04:16 +03:00
|
|
|
done
|
|
|
|
|
|
|
|
# Restore saved unicode version
|
|
|
|
printf "\e]1337;UnicodeVersion=pop %s\e\\" $label
|