extract_od_binary.sh 225 B

123456
  1. #!/bin/sh
  2. # Converts textual result of "od -tx1 <FILE"
  3. # back into a binary FILE
  4. 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