Convert hex to ASCII by henkma

main=interact$(>>=f).words
f"0A"="\\n\n";f x|x>"2",x<"7F"=[read$"'\\x"++x++"'"]|0<1="\\x"++[[c..]!!sum[32|c>'9']|c<-x]

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

download

return to the top page