is there are nice unix command for dumping the text representation of a binary file.
- by monkeyking
Hi I got some binary files containing integers.
Is there some nice unix command, that will allow me to dump it to a terminal without offset info etc?
something like
double int[4];
while(fread(tmp,sizeof(int),4,stdin))
for(int i=0;i<4;i++) printf("%d\t",tmp[i]);
It seems that hexdump and od gives me the information I want, but the output is to verbose.
I just want the contents.