diff options
author | Denys Vlasenko | 2015-10-05 16:46:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-05 16:46:29 +0200 |
commit | 3b650c1e7b0bcbb4dfebab6fd87449e6b1e0b788 (patch) | |
tree | 421f1093d73c866f86cd6ffb013cdc781ebfeef4 /qemu_multiarch_testing/extract_od_binary.sh | |
parent | 2b48c38be60cf9033761365f40c05f2e6a41a1c4 (diff) | |
download | busybox-3b650c1e7b0bcbb4dfebab6fd87449e6b1e0b788.zip busybox-3b650c1e7b0bcbb4dfebab6fd87449e6b1e0b788.tar.gz |
qemu testing: extract_od_binary.sh: support huge files (and broken od)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'qemu_multiarch_testing/extract_od_binary.sh')
-rwxr-xr-x | qemu_multiarch_testing/extract_od_binary.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_multiarch_testing/extract_od_binary.sh b/qemu_multiarch_testing/extract_od_binary.sh index e4c2c2a..1006e51 100755 --- a/qemu_multiarch_testing/extract_od_binary.sh +++ b/qemu_multiarch_testing/extract_od_binary.sh @@ -3,4 +3,4 @@ # Converts textual result of "od -tx1 <FILE" # back into a binary FILE -grep -a '^[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 +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 |