Sample Header Ad - 728x90

How do I print an ASCII character by different code points in Bash?

18 votes
7 answers
69746 views
In the ASCII table the 'J' character exists which has code points in different numeral systems: Oct Dec Hex Char 112 74 4A J It's possible to print this char by an octal code point by printing printf '\112' or echo $'\112'. How do I print the same character by decimal and hexadecimal code point presentations?
Asked by viavad (343 rep)
Sep 23, 2016, 04:09 PM
Last activity: Jun 9, 2021, 05:55 PM