Closed microtherion closed 3 years ago
The way I do this now is
$ uni e switzerland | uni i | head
Or, if you really want just the emoji:
$ uni e switzerland | cut -d ' ' -f1 | uni i
But that's more typing 😅
In the future I'd like to add an option to configure the columns/format that are shown; it's a "TODO" comment. Then you would get something like:
$ uni e -format '%codepoints% %character%'
U+1F1E8 U+1F1ED 🇨🇭
Then you can easier pipe it back to identify:
$ uni e -format '%character' | uni i
'🇨' U+1F1E8 127464 f0 9f 87 a8 🇨 REGIONAL INDICATOR SYMBOL LETTER C (Other_Symbol)
'🇭' U+1F1ED 127469 f0 9f 87 ad 🇭 REGIONAL INDICATOR SYMBOL LETTER H (Other_Symbol)
There is now the -format
flag to tell which columns to print; you can add %(cpoint)
:
$ uni e facepalm -gender all -tone all -format '%(name l:auto) %(cpoint l:auto) %(emoji)'
name cpoint
person facepalming U+1F926 🤦
man facepalming U+1F926 U+200D U+2642 U+FE0F 🤦♂️
woman facepalming U+1F926 U+200D U+2640 U+FE0F 🤦♀️
person facepalming: light skin tone U+1F926 U+1F3FB 🤦🏻
man facepalming: light skin tone U+1F926 U+1F3FB U+200D U+2642 U+FE0F 🤦🏻♂️
woman facepalming: light skin tone U+1F926 U+1F3FB U+200D U+2640 U+FE0F 🤦🏻♀️
person facepalming: mediumlight skin tone U+1F926 U+1F3FC 🤦🏼
man facepalming: mediumlight skin tone U+1F926 U+1F3FC U+200D U+2642 U+FE0F 🤦🏼♂️
woman facepalming: mediumlight skin tone U+1F926 U+1F3FC U+200D U+2640 U+FE0F 🤦🏼♀️
person facepalming: medium skin tone U+1F926 U+1F3FD 🤦🏽
man facepalming: medium skin tone U+1F926 U+1F3FD U+200D U+2642 U+FE0F 🤦🏽♂️
woman facepalming: medium skin tone U+1F926 U+1F3FD U+200D U+2640 U+FE0F 🤦🏽♀️
person facepalming: mediumdark skin tone U+1F926 U+1F3FE 🤦🏾
man facepalming: mediumdark skin tone U+1F926 U+1F3FE U+200D U+2642 U+FE0F 🤦🏾♂️
woman facepalming: mediumdark skin tone U+1F926 U+1F3FE U+200D U+2640 U+FE0F 🤦🏾♀️
person facepalming: dark skin tone U+1F926 U+1F3FF 🤦🏿
man facepalming: dark skin tone U+1F926 U+1F3FF U+200D U+2642 U+FE0F 🤦🏿♂️
woman facepalming: dark skin tone U+1F926 U+1F3FF U+200D U+2640 U+FE0F 🤦🏿♀️
See uni help
in master for details; note there are some incompatible changes in master too.
Thanks for an excellent tool!
I wish there were a direct way to show character codes in emoji mode. Right now we have:
and I have to copy & paste that character to
uni i
. Maybe add a verbose flag to get: