busybox hexdump -R hack

Pascal Bellard pascal.bellard at ads-lu.com
Sat Nov 17 06:41:23 PST 2007


Hello,

Please find attached a patch to add 'hexdump -R' a non-standard switch.
It does the reverse of 'hexdump -Cv' ie :
$ hexdump -Cv file.bin > file.ascii
$ hexdump -R file.ascii > file.bin

Usefull to 'edit' binary files with an ascii editor or sed, awk...

Hope it helps,

-pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.8.1-FEATURE_HEXDUMP_REVERSE.u
Type: application/octet-stream
Size: 2781 bytes
Desc: not available
Url : http://busybox.net/lists/busybox-cvs/attachments/20071117/d046dc1b/attachment.obj 


More information about the busybox-cvs mailing list