3 msยท
I have this shortcut for converting alphabets and numbers to bold. Mainly use it to format book titles for reviews I post on twitter. a2b () {
by asicsp 5y ago
I have this shortcut for converting alphabets and numbers to bold. Mainly use it to format book titles for reviews I post on twitter.
a2b ()
{
ip_expr="$@";
if [[ $# -eq 0 || $1 = '-' ]]; then
read -r ip_expr;
fi;
echo "$ip_expr" | perl -Mopen=locale -Mutf8 -pe 'tr/a-zA-Z0-9/๐ฎ-๐๐-๐ญ๐ฌ-๐ต/'
}
Didn't know about `unifont` and `unisupers` mentioned in the post, will check them out.