qemu testing: extract_od_binary.sh: support huge files (and broken od)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2015-10-05 16:46:29 +02:00
parent 2b48c38be6
commit 3b650c1e7b
1 changed files with 1 additions and 1 deletions

View File

@ -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