Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in (xxd -c 2 -g 1 -b packet_TM_MERTIS_PktRawResponseElement_packetID_2.dat | head -20)
- set tmp (echo $i | cut -d' ' -f 5)
- echo $i : (printf "\x$tmp" | xxd -b | cut -d' ' -
- end
- 0000000: 00110000 00110000 00 : 00000000
- 0000002: 00110000 00110000 00 : 00000000
- 0000004: 00110000 00110000 00 : 00000000
- 0000006: 00110000 00110000 00 : 00000000
- 0000008: 00110101 00110100 54 : 01010100
- 000000a: 00111000 00111001 89 : 11000010
- 000000c: 00110110 00111001 69 : 01101001
- 000000e: 01100011 01100100 cd : 11000011
- 0000010: 00110000 00110000 00 : 00000000
- 0000012: 00110000 00110000 00 : 00000000
- 0000014: 00110000 00110000 00 : 00000000
- 0000016: 00110000 00110000 00 : 00000000
- 0000018: 00110101 00110100 54 : 01010100
- 000001a: 00111000 00110001 81 : 11000010
- 000001c: 00110100 00110010 42 : 01000010
- 000001e: 01100011 00110101 c5 : 11000011
- 0000020: 00110000 00110000 00 : 00000000
- 0000022: 00110000 00110000 00 : 00000000
- 0000024: 00110010 00110011 23 : 00100011
- 0000026: 00110010 00111000 28 : 00101000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement