#	usage: edlast file
#	prints the last line of file, then deletes that line
ed - $1 <<-\eof		# variable substitutions prohibited
	H
	$p
	$d
	w
	q
eof
echo done
