Xref: utzoo comp.unix.questions:7793 comp.sys.tahoe:28 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions,comp.sys.tahoe Subject: Re: Need utils: head,yes,& nroff (-man) for SysV2 (CCI 2.21or2.22) Keywords: dwb, tail, Power 6, BSD Message-ID: <8171@brl-smoke.ARPA> Date: 27 Jun 88 03:55:28 GMT References: <6007@hqda-ai.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <6007@hqda-ai.ARPA> jay@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 $*