Convert hex to ASCII by tails

:
s/x0a/n\n/
s\x09x[2-7]\x09\x01:;<=>?\x033 !"#$%\&'()*+,-./\x032@ABCDEFGHIJKLMNO\x034PQRSTUVWXYZ[\\]^_\x035`abcdefghijklmno\x036pqrstuvwxyz{|}~\x7f\x037\x02&\x09
s/\x03\(.\).*\x02.\1/0123456789abcdef\x02/
s/.\x01.*\(\(.\).\{15\}\(.\).*\x02\3\|\x02\)/\2/
t
s/\x7f/\\x7f/
N
s/\s//g
$s/../\\x\L&/g
b

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page