'xxd'에 해당하는 글 2건

ref: https://stackoverflow.com/questions/36245858/why-view-hex-in-vim-is-different-from-hexdump-result

 

Why view hex in Vim is different from hexdump result?

I have a hex file and want to check its content. When I use hexdump, it looks like this: tomxue@tom-Hasee:~/workspace$ hexdump spi.pcm | head 0000000 fedf fef4 fed9 fed4 ff10 fe99 fffe ffcd 000001...

stackoverflow.com

 

remove 'set fileencoding=.....' in .vimrc


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,



0x9a554 : version()


$ xxd  -p -s 0x9a554 -l 0xa8  dcs_dump.bin   version.hex


$ cat version.hex

9421ffe07c0802a693a1001493c1001893e1001c900100243d20002183a94d584bf717157c651b783d20002180c94d5c3c6000207fa4eb783863cbec4cc631824bfe0255480435797c641b783c6000203863cc084cc631824bfe023d3d20002180894d643c6000203863cc184cc631824bfe02253d2000213c60002080893c243863cc284cc631824bfe020d800100247c0803a683a1001483c1001883e1001c382100204e800020                        


$ xxd -r -p version.hex  > version.bin


$ xxd version.bin





WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,