qemu testing: extract_od_binary.sh: support huge files (and broken od)
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Oct 2015 14:46:29 +0000 (16:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Oct 2015 14:46:29 +0000 (16:46 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
qemu_multiarch_testing/extract_od_binary.sh

index e4c2c2a0ab134afb9acef768ab8e4d62ab5a919e..1006e515328d8f58e2ff2f74a5fab40e2967f780 100755 (executable)
@@ -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