1#! /bin/sh 2# Script to convert an Amiga executable named filesys into a series of 3# dw(...) statements. 4# This assumes that the first four lines only contain hunk information. 5# That is what you get if you assemble/link with a68k/blink 6od -v -t xC -w8 filesys |tail -n +5 | sed -e "s,^.......,," \ 7 -e "s,[0123456789abcdefABCDEF][0123456789abcdefABCDEF],db(0x&);,g" 8