KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
With Bash, you can use printf with hex codes \xHH byte with hexadecimal value HH (1 to 2 digits) \uHHHH Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits) example $ printf '\x26' & However the Unicode example does not print as expected $ printf '\u0026' \u0026 My Bash version $ echo $BASH_VERSION 4.1.10(4)-release
Tags (comma-separated)
Save Edits
Cancel