Posted to tcl by Bradipo at Tue May 01 03:58:22 GMT 2012view pretty

Both of these systems are the same tcl_platform, yet:

$ echo 'puts [binary format S3 {0 100 389}]' | tclsh | od -c
0000000  \0  \0  \0   d 001 205  \n
0000007

$ echo 'puts [binary format S3 {0 100 389}]' | tclsh | od -c
0000000  \0  \0  \0   d 001 302 205  \n
0000010