SyntaxFix
Write A Post
Hire A Developer
Questions
Tried printf(1)?
printf(1)
printf "%x\n" 34 22
There are probably ways of doing that with builtin functions in all shells but it would be less portable. I've not checked the POSIX sh specs to see whether it has such capabilities.