first version.
[build-srcpkg.git] / bin / qemu_multiarch_testing / extract_od_binary.sh
blob1006e515328d8f58e2ff2f74a5fab40e2967f780
1 #!/bin/sh
3 # Converts textual result of "od -tx1 <FILE"
4 # back into a binary FILE
6 grep -a '^[0-7][0-7][0-7][0-7][0-7][0-7][0-7][0-7]* [0-9a-f][0-9a-f] [0-9a-f][0-9a-f] [0-9a-f][0-9a-f] [0-9a-f][0-9a-f]' | busybox hexdump -R