#!/bin/sh if [ $# -ne 1 ] ; then echo "Usage: $0 " exit 1 fi SYMBOL=$(echo "$1" | tr '.-' '_') SYM_START="_binary_${SYMBOL}_o_start" SYM_END="_binary_${SYMBOL}_o_end" SYM_SIZE="_binary_${SYMBOL}_o_size" HEADER="$f.h" cat - <