source: MondoRescue/branches/3.3/mindi-busybox/qemu_multiarch_testing/extract_od_binary.sh@ 3621

Last change on this file since 3621 was 3621, checked in by Bruno Cornec, 7 years ago

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 225 bytes
Line 
1#!/bin/sh
2
3# Converts textual result of "od -tx1 <FILE"
4# back into a binary FILE
5
6grep -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
Note: See TracBrowser for help on using the repository browser.