xxd: incompatible -p option
Denys Vlasenko
vda.linux at googlemail.com
Sun Dec 12 15:34:24 UTC 2021
On Mon, Dec 6, 2021 at 12:56 PM Rafał Miłecki <zajec5 at gmail.com> wrote:
> 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
Can't reproduce with the current git. Can you?
More information about the busybox
mailing list