I'm trying to map a fixed set of ASCII characters to a fixed set of Unicode characters. I.e., for each digit 0-9, I want to get the circled digit equivalent.
mapFrom="0123456789"
mapTo="🄋➀➁➂➃➄➅➆➇➈"
today=20221018
#convert to "➁🄋➁➁➀🄋➀➇"
todayWithCircles=$(do_something_here) # <-- what's the "something"?
echo $todayWithCircles
# output: ➁🄋➁➁➀🄋➀➇
Given two fixed strings of equal length, what is the easiest way to map them-- based on their position in the string-- as described?
➀➁➂➃➄➅➆➇➈, you should be able to do the reverse map the same way usingcase.