1#!/bin/sh 2# TODO: use getopt to avoid parsing options as filenames, 3# and to support -- and --help 4for i in "$@" 5do 6sed -e '1!G;h;$!d' "$i" 7done 8