@mcc there was a time in my life when typing "a" in the browser address bar would autosuggest asciitable.com - with its badly-compressed gif table, impossible to copy paste any of the entries, impossible to decipher the weird watermark in the background. If only I had been able to remember any other ascii table website domain, but then again I could have just memorized \n and \r in the first place.
Anyway, thanks for your PSA!
@mcc
That's a great Today I Learned!
Notepad++ has a useful side panel for this kind of thing in case that's also helpful.
Edit > Character Panel
@mcc I tend to use ascii(1) fron plan9(port) which defaults to hex and has -d, -o options, plus allows to encode/decode. (same kind of deal with the unicode command)
For example:
$ ascii -t 68 65 6c 6c 6f
hello
ascii utility installed, in which case you want man 7 ascii, which is oddly mnemonic)@mcc I needed to hear this. For a while I had this in my reverse search:
python -c "print('\n'.join(f'{i:02x} {chr(i)}' for i in range(128)))"
I have added the awk format to show the ascii character in bash script. But how can we actually display the ascii value in decimal, octal and hexadecimal in bash script? awk -F":" ' BEGIN { prin...