On 05/09/2015 11:36 PM, enh wrote: > i've long been a hexdump(1) user, but someone on my team habitually uses > xxd(1) and seeing that it was bi-directional was enough to switch my > alleigance. this patch doesn't add that part, but it does cover the > basic use cases. > > (right now Android just has a shell function 'hd'.)
Sigh. I did od because posix said to (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/od.html) and did hexedit because it was interactive. (Although I broke out the draw_line() logic thinking I could genericize stuff and maybe reuse code here...) Now here's a third that doesn't share code with either of the first two. It's small, it looks simple, and it's the third implementation of the same stuff... That's why it went on the todo list instead of immediate merging, anyway. I should at least throw it in pending though... Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
