Welcome to mirror list, hosted at ThFree Co, Russian Federation.

extract_od_binary.sh « qemu_multiarch_testing - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1006e515328d8f58e2ff2f74a5fab40e2967f780 (plain)
1
2
3
4
5
6
#!/bin/sh

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