> If you look more closely at the alignment of the characters to the hex  
> values you will see that xd thinks Q has character code 0x525 and R  
> has character code 3. It should look more like
> 
> % xd -c -x bad
> 0000000  e0Q R S  \n
>       0  e0515253 0a000000
> 0000005

-x by itself doesn't output the hex codes
for bytes, it outputs the hex codes for 4 byte
integers.  i think you're thinking of this command
line instead

; xd -c -1x bad
0000000  e0  Q  R  S \n
      0  e0 51 52 53 0a

- erik


Reply via email to