#!/bin/sh IN=$1 cat $IN | sed 's/;.*$//' | xxd -r -p - ${IN%.*}.bin