From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 08:13:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72A816A4CE for ; Fri, 9 Jan 2004 08:13:01 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4546943D1D for ; Fri, 9 Jan 2004 08:13:00 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i09GCxYE043846; Fri, 9 Jan 2004 10:12:59 -0600 (CST) (envelope-from dan) Date: Fri, 9 Jan 2004 10:12:59 -0600 From: Dan Nelson To: Dru Message-ID: <20040109161259.GC4168@dan.emsphone.com> References: <20040109110400.G610@genisis.domain.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040109110400.G610@genisis.domain.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: questions@freebsd.org Subject: Re: removing the first 10 lines of a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 16:13:02 -0000 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