busybox hexdump -R hack

walter harms wharms at bfs.de
Sun Nov 18 16:32:08 UTC 2007



Denys Vlasenko wrote:
> On Saturday 17 November 2007 06:41, Pascal Bellard wrote:
>> 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
> 
> Well, this is totally non-standard. Feature creep.
> 
>> Usefull to 'edit' binary files with an ascii editor or sed, awk...
> 
> But is too useful to ignore. Really cool.
> 

this is not so far off. i use xxd often what also has a -r (revert) switch.

re,
 wh




More information about the busybox mailing list