paul jakma paulclubiie tue 27 aug 2002 david neary wrote actually following would way sensible echo e echo enc sed s09afaf22x1g 22 2 idea something along lines attempting realised straight swap couldnt get awks gensub insert x anyway end found something internet adapted function decode_url str hextabicc1c2lencode hex dec lookup table hextab 0 0 hextab 8 8 hextab 1 1 hextab 9 9 hextab 2 2 hextab 10 hextab 3 3 hextab b 11 hextab 4 4 hextab c 12 hextab 5 5 hextab 13 hextab 6 6 hextab e 14 hextab 7 7 hextab f 15 decoded 1 len length str len c substr str 1 check usual start uri hex encoding chars c c i2 len valid hex encoding c1 touppersubstrstr i1 1 c2 touppersubstrstr i2 1 hextab c1 hextab c2 code 0 hextab c1 16 hextab c2 0 c sprintf c code 2 space apparently else c c decoded decoded c return decoded cheers dave ps late reply footer original mail received mail error yadda yadda got caught spam filter ended junkmail directory might footer check headers regards paul jakma paulclubiie pauljakmaorg key id 64a2ff6a warning ever send email spamdishonest fortune one nuclear bomb ruin whole day irish linux users group iluglinuxie httpwwwlinuxiemailmanlistinfoilug unsubscription information list maintainer listmasterlinuxie tue 27 aug 2002 213226 0100 ist ilug converting strings hex ascii