snosniv
unread,Jun 24, 2016, 7:27:44 PM6/24/16You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have a file full of bytes, one byte per line, which I created with a Tcl script.
However, the bytes apparently need to be in a binary file format.
e.g file start looks like:
fd
37
65
d5
23
34
65
dc
ae
3a
4c
6a
12
6f
76
25
But if I open in binary, I get the ASCII of the bytes & all the CR/LF chard too.
I need to generate a binary file with the bytes above: e.g.
00000000 FD 37 65 d5.....etc
But if I open in binary I get:
00000000 66 64 0D 0A etc .
Tried various scan commands, but as only a Tcl dabbler, getting confused!
Any help most welcome.