hexdump formats

J

jimmy

Hello,
I'm trying to output a binary file to decimal. I want the input read
in 8 byte clumps (doubles) and output in decimal (signed floats if
possible!!). How can I do this with the format statements? At present
I can't seem to get anything from the -e "" option. Whatever I use, it
just tells me 'bad format'.
Any hints pls?
jim
 
J

Joona I Palaste

jimmy said:
Hello,
I'm trying to output a binary file to decimal. I want the input read
in 8 byte clumps (doubles) and output in decimal (signed floats if
possible!!). How can I do this with the format statements? At present
I can't seem to get anything from the -e "" option. Whatever I use, it
just tells me 'bad format'.
Any hints pls?
jim

ISO C doesn't specify anything called "hexdump" or "-e option". Are you
sure you are at the right newsgroup?

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"You could take his life and..."
- Mirja Tolsa
 
W

William Ahern

jimmy said:
Hello,
I'm trying to output a binary file to decimal. I want the input read
in 8 byte clumps (doubles) and output in decimal (signed floats if
possible!!). How can I do this with the format statements? At present
I can't seem to get anything from the -e "" option. Whatever I use, it
just tells me 'bad format'.
Any hints pls?
jim

Try comp.unix.shell.

- Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top