From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Maximum buffer size exceeded Date: 05 May 2004 11:36:36 +0200 Organization: sometimes Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7ewu3rw6zf.fsf@ada2.unipv.it> References: <7iekpzljjq.fsf@neoscale.com> <7ir7tza1ut.fsf@neoscale.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083750399 25810 80.91.224.253 (5 May 2004 09:46:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 09:46:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 11:46:29 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLIyy-0001B4-00 for ; Wed, 05 May 2004 11:46:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLIyg-0001YO-UH for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2004 05:46:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!uninett.no!news.equant.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news01.chello.no!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1083749796 25817 193.204.44.145 (5 May 2004 09:36:36 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 5 May 2004 09:36:36 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Received-Date: Wed, 05 May 2004 11:39:44 MET DST (news01.chello.no) Original-Xref: shelby.stanford.edu gnu.emacs.help:122975 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18262 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18262 Kin Cho writes: > Otherwise, use grep -n to locate the line number(s) so you can > use a combination of head and tail to extract the line(s). most sed implementations can also select lines: sed 5,10!d FILE should be equivalent to: tail +5 FILE | head -5 this saves a fork, i/o overhead, and the need to compute the arg to `head'. sed is your friend. thi