is there a way of usinf greo to find 3 or 4 blank lines?
Gary Kline
kline at thought.org
Mon Sep 7 23:15:39 UTC 2009
On Mon, Sep 07, 2009 at 08:55:44AM +0200, Kalle M?ller wrote:
> 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
>
DIdn't think of this, but it doesn't seem to work in vi or vim. i think i've got
vim set to vi-mode. anyway, the awk script that mark willson posted works.
next time i'll put in something like XXXXXBREAKXXXXX for my v-breaks.
gary
> On Sun, Sep 6, 2009 at 2:36 AM, Gary Kline <kline at thought.org> 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 <<whatever>>. i have lost these
> > vertical spacing
> > in all but my original draft. can i use grep somehow to find these
> > extra newlines?
> >
> > if not grep, then sed, ed, or what?!
> >
> > tia,
> >
> > gary
> >
> >
> >
> > --
> > Gary Kline kline at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org"
> >
>
>
>
> --
>
> Med Venlig Hilsen
>
> Kalle R. Møller
--
Gary Kline kline at 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
More information about the freebsd-questions
mailing list