summaryrefslogtreecommitdiff
path: root/qemu_multiarch_testing/extract_od_binary.sh
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-05 16:46:29 +0200
committerDenys Vlasenko2015-10-05 16:46:29 +0200
commit3b650c1e7b0bcbb4dfebab6fd87449e6b1e0b788 (patch)
tree421f1093d73c866f86cd6ffb013cdc781ebfeef4 /qemu_multiarch_testing/extract_od_binary.sh
parent2b48c38be60cf9033761365f40c05f2e6a41a1c4 (diff)
downloadbusybox-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-xqemu_multiarch_testing/extract_od_binary.sh2
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