projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
qemu testing: extract_od_binary.sh: support huge files (and broken od)
[oweals/busybox.git]
/
qemu_multiarch_testing
/
extract_od_binary.sh
1
#!/bin/sh
2
3
# Converts textual result of "od -tx1 <FILE"
4
# back into a binary FILE
5
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