#!/bin/bash
set -e

if [ -z "$1" ]; then
	echo "usage: remove-bom FILE"
	exit 6
fi

sed -i '1s/^\xEF\xBB\xBF//' $1

