Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 10:12:59 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Dru <dlavigne6@sympatico.ca>
Cc:        questions@freebsd.org
Subject:   Re: removing the first 10 lines of a file
Message-ID:  <20040109161259.GC4168@dan.emsphone.com>
In-Reply-To: <20040109110400.G610@genisis.domain.org>
References:  <20040109110400.G610@genisis.domain.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 09), Dru said:
> I remember coming across a trick (which I can't find now) which
> allowed you to page all of a file, except for the first 10 lines. I
> think it used a combo of head and tail to achieve this. I can't just
> use tail as the length of the file varies whereas the amount I don't
> want to see doesn't.

tail +11 myfile

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109161259.GC4168>