Re: changing text into binary?

2006-09-08 Thread Tim Chase
ff 03 04 ab 30 ab 03 41 ... ... ... ff 03 04 ab 30 ... all in plain ascii text. I'm looking for a switch that could change it into the actual bytes those numbers represent. Any ideas, without having to write a program for it? The others gave sensible solutions. However, if you *must* do

Re: changing text into binary?

2006-09-08 Thread A.J.Mechelynck
Chuck Mason wrote: I've a text file with hundreds of thousands of hex numbers, i.e.: ff 03 04 ab 30 ab 03 41 ... ... ... ff 03 04 ab 30 ... all in plain ascii text. I'm looking for a switch that could change it into the actual bytes those numbers represent. Any ideas, without having to w

RE: changing text into binary?

2006-09-08 Thread Max Dyckhoff
What do you mean by "the actual bytes"? Do you mean something like this: ff -> At any rate, I think you would be best suited to use Perl/awk/sed to do the conversion, rather than using vim. Vim is for editing text, not manipulating data! :) Max > -Original Message- >