Hey all. I have an interesting problem. I have a file with a ton of raw hex data in it. I need to convert it into human readable text for display on a web site. The problem that I am having is this. For some of the data I need to change the order of the characters before running the conversion. For example:
A028: To convert switch the order of the bits (A028 -> 28A0), convert to decimal (10400), divide that number by 8 for the result (1300).
I was going to try to do it with PHP but figured that it might be easier with a shell script.
Any ideas???
Cheers