Character to value works:
$ printf "%d\n" \'A
65
$
I have two questions, the first one is most important:
- How do I take 65 and turn it into A?
- \'A converts an ASCII character to its value using printf. Is the syntax specific to printf or is it used anywhere else in BASH? (Such small strings are hard to Google for.)