Shell Bash equivalent to python "unicodedata.name"?

If an equivalent in iconv exists I don't know which is the right one. Wanted instead of "L" as issue "LATIN CAPITAL LETTER L".
Didn't want a python oneliner because it to execute as bash script through an external file or panel starter gets it more complicated with additional special characters and quotes.
Thanks for help

Code:
import unicodedata; print (unicodedata.name("L"))

Code:
echo -e "L" | iconv -f UTF-8 -t UNICODELITTLE//TRANSLIT
 
Thanks, have too found the two files on the system. Exist there execute commands for the files?
zcat /usr/share/i18n/charmaps/UTF-8.gz
cat /usr/share/X11/locale/en_US.UTF-8/Compose
 
Last edited:
Back
Top