From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:50:35 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 C242016A4CE for ; Sun, 18 Jan 2004 13:50:35 -0800 (PST) Received: from hotmail.com (bay8-f50.bay8.hotmail.com [64.4.27.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0648443D39 for ; Sun, 18 Jan 2004 13:50:35 -0800 (PST) (envelope-from lee_ver_mx@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 13:50:34 -0800 Received: from 200.78.18.69 by by8fd.bay8.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 21:50:34 GMT X-Originating-IP: [200.78.18.69] X-Originating-Email: [lee_ver_mx@hotmail.com] X-Sender: lee_ver_mx@hotmail.com From: "Lee Mx" To: nkinkade@ub.edu.bz Date: Sun, 18 Jan 2004 13:50:34 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 21:50:34.0820 (UTC) FILETIME=[19F91040:01C3DE0D] cc: freebsd-questions@freebsd.org Subject: Re: stumped... . 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: Sun, 18 Jan 2004 21:50:35 -0000 > >"How can I delete all lines from /^PATTERN to EOF??" I think that I read it wrong. Either way he has a solution ;-) > >Unless I'm reading it wrong, he wants to *keep* everything from the >beginning of the file to /^PATTERN/ and NOT keep everything else all the >way to EOF. The diff. between what I suggested and the what other >suggested is that using 'q' would be inclusive, while the others are >exclusive of the line matched by /^PATTERN/. However, it wasn't clear >which he wanted. > >Nathan >-- >gpg --keyserver pgp.mit.edu --recv-keys D8527E49 ><< attach3 >> _________________________________________________________________ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx