Homebrew has a neat trick of printing out little icons next to its output. Like this:
If I copy paste the icon it on its own and hit enter I get the result:
-bash: $'?\237\215?': command not found
And if I try it with echo
or printf
I just get ????
. Same if I escape all the quotes and $
s etc.
editron:~ stib$ echo $'?\237\215?'
????
So how do they do that? What do the magic characters $'?\237\215?'
mean?