hexdump to ASCII
| I've a file with which contains the dump of all the members of a structure in hexadecimal format. where each line contains 4 bytes followed by a newline. Now I want to convert this HEX dump to ASCII. I've tried hexdump(1M) to achieve this but haven't been successful so far. I'm invoking hexdump as: [root@localhost]# hexdump -e ' "%s" ' mydump hexdump: %s requires a precision or a byte count. <snip from man hexdump> "A format string contains any number of format units, separated by whitespace. A format unit contains up to three items: an iteration count, a byte count, and a format." "A byte count or field precision is required for each ''s'' conversion character" <snip from man hexdump> I'm not sure how to provide this precision value. -Amit |
No comments:
Post a Comment