#!/bin/bash usage() { cat 1>&2 < "${FILENAME}" shift shift ;; *) echo "Unknown option $1" 1>&2 echo shift usage exit 1 ;; esac done