Hi,

I deal with ~4 MiB of binary data stored as hex numbers in 1-line text
file. I need to convert numbers to raw binary data. That can be done
with -r -p options.

With standalone xxd it works perfectly fine:
$ cat data.bin | xxd -r -p | wc -c
3518210

With busybox not so much:
$ cat data.bin | busybox xxd -r -p | wc -c
30

It seems that -p option implies -c 20 while it should be -c ∞:
$ cat data.bin | busybox xxd -r -p -c 999999999 | wc -c
3518210

Is that someting that could be fixed?

-- 
Rafał
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to