From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 06:55:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB0A106566C for ; Mon, 7 Sep 2009 06:55:45 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 70E238FC0A for ; Mon, 7 Sep 2009 06:55:45 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so574318qwe.7 for ; Sun, 06 Sep 2009 23:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=ntoX5PvODhp12o6T5VvkNs+/mTMpQ3EV+L6qS8z4bc0=; b=gjN8zkcFFNca7miM1zrfeFohDx4VEjvq+7S3zGBytU1Zh48gzmtX9rytRI5NIz9LrT U9/qhMLHiCSTzLqaR2pzrzSVABY++EpRBc8YVcN83s2sWoP0aKnnLyWuU9sLSMYYaiqt aaAvZV+Uu1ZIXwfMTFnarTBaLjIpfjA9zq73I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=PYSi40hBJa+19+oyEqXlkMXrSpBLnlmUE8/EAMuV/5GLnJYi7mfd8v8LX2I94I1uRb yqMb8Wdl+Av0pkgiqOVZxZySZeXiGPbm2c5YFH0LyITkdqOXStoQonZ0sHvkGDOqY34T UsKawq4gi5n7kKCERXid5yZvPEXjx2Grx//qc= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.224.33.199 with SMTP id i7mr8965098qad.125.1252306544680; Sun, 06 Sep 2009 23:55:44 -0700 (PDT) In-Reply-To: <20090906003651.GA7388@thought.org> References: <20090906003651.GA7388@thought.org> Date: Mon, 7 Sep 2009 08:55:44 +0200 X-Google-Sender-Auth: 4242a106437be3f3 Message-ID: <8250ac3f0909062355g69a1cf5cj847e84aaee79b0c2@mail.gmail.com> From: =?ISO-8859-1?Q?Kalle_M=F8ller?= To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 06:55:45 -0000 I know its not in commandline, but in vim (maybe even vi) you could just /\n\n\n This would find new lines... And you could jump between them with n.. and :set ruler so you can find linenumber On Sun, Sep 6, 2009 at 2:36 AM, Gary Kline wrote: > > in my manuscript, i have many places where i'ved used several > newlines to indicate a > jump in time, or topic, or mood, or <>. i have lost the= se > vertical spacing > in all but my original draft. can i use grep somehow to find thes= e > extra newlines? > > if not grep, then sed, ed, or what?! > > tia, > > gary > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > http://jottings.thought.org http://transfinite.thought.org > The 5.67a release of Jottings: http://jottings.thought.org/index.php > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 Med Venlig Hilsen Kalle R. M=F8ller