3 # These should be fairly static - we can make them dynamic if we have to
8 STR_BEGIN
=`dc -e "16 i FFFC0 p"`
9 STR_END
=`expr $STR_BEGIN + $LEN`
15 if [ -z "$IN" -o -z "$SIG" ]; then
16 echo "usage: ./setsig.sh <input> <sig> <output>"
20 if [ -z "$OUT" ]; then
24 dd if=$IN bs
=$STR_BEGIN count
=1 > $OUT 2>/dev
/null
25 echo -n "$SIG" >> $OUT
26 dd if=$IN bs
=$STR_END skip
=1 >> $OUT 2>/dev
/null