#! /bin/sh
#
###	behead - remove header line(s) from data files
###	Usage: behead [files]
##
##      Removes all lines before and including the 1st line containing "BEGIN DATA"

SED=/usr/bin/sed

case $# in
0)	exec $SED '1,/^$/d' ;;
*)	for i
	do
		$SED '1,/BEGIN DATA/d' "$i"
	done
	;;
esac
