In article <6007 at hqda-ai.ARPA> jay at hqda-ai.ARPA (Jay Hiser) writes: >head: the opposite of 'tail'. if [ $# -eq 0 ] then n=10 else case $1 in [0-9]*) n=$1; shift;; *) n=10;; esac fi exec sed -e ${n}q $*