What do you mean by "the actual bytes"? Do you mean something like this:

        ff -> 11111111

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-----
> From: Chuck Mason [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 08, 2006 3:15 PM
> To: [email protected]
> Subject: changing text into binary?
>
> 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 write a program for it?
>
> Chuck

Reply via email to