4 ms·
Not in front of a keyboard, but does tr not work? echo "something in turkish" | LC_ALL=tr_TR tr "[:lower:]" "[:upper:]"
by js2 5y ago
Not in front of a keyboard, but does tr not work?
echo "something in turkish" | LC_ALL=tr_TR tr "[:lower:]" "[:upper:]"
- chociej 5y agoIt failed to convert the diacritics for me with LC_ALL="tr_TR.UTF-8" matching my /etc/locale.gen. Kapı açık -> KAPı AçıK However this worked: gawk '{ print toupper($0) }'
- js2 5y agoDrat, apparently tr (GNU tr anyway) only supports single-byte characters. https://unix.stackexchange.com/questions/554901/how-to-change-any-text-to-proper-case-and-sentence-case-using-tr https://unix.stackexchange.com/questions/554901/how-to-chang...
- chana_masala 5y agoYou had a lot of patient to type that on a mobile device
- js2 5y agoI was on an iPad w/keyboard, so technically I had a keyboard but not a macOS shell.
- chana_masala 5y agos/patient/patience/