Need utils: head,yes,& nroff (-man) for SysV2 (CCI 2.21or2.22)

Doug Gwyn gwyn at brl-smoke.ARPA
Mon Jun 27 13:55:28 AEST 1988


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 $*



More information about the Comp.unix.questions mailing list