Edited to correct the question
I'm using awk to urldecode some text.
If I code the string into the printf statement like so: printf "%s", "\x3D" it correctly outputs =. The same if I have the whole escaped string as a variable.
However, if I only have the 3D, how can I append the \x so printf will print the = and not \x3D.
I'm using busybox awk 1.4.2 and the ash shell.