[prog] Reading data file
tiera at comhem.se
tiera at comhem.se
Sun Jan 25 18:26:25 EST 2004
On Sun, Jan 25, 2004 at 12:24:22PM +0100, dominik.schramm at gmxpro.net wrote:
> There has been a thread about roughly the same topic a while ago
> on Techtalk (?). (I couldn't find it with Google, though).
I found it here on the programming list.
> There, the program "od" was suggested -- which is short for
> octal dump -- it dumps files in octal/decimal/hexadecimal/whatever
> format. This may be useful here.
Perfect. Just what I needed.
> This command line seems appropriate for your application:
> $ od -j 4 -t x4 -w8 binaryfile
I used the -t u4 instead of -t x4 and that got me the message id in
the second column and the flags in the third (16 for replied, 32 for
forwarded and 0 for just read).
> hope this helps
Yes it did. Thanks!
> regards
> dominik
/Tiera
More information about the Programming
mailing list