Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-08 Thread Mark Willson
Gary Kline wrote: On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote: The following version should do what you want: BEGIN { ncnt = 0 prev = "BOF" } /^ *$/ { ncnt++; if (ncnt > 3) { print "Emphasis at " NR ": " prev; prev = "-mul

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Gary Kline
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, bu

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Gary Kline
On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote: > Gary Kline wrote: > >>Yes, this works just fine. I findthat there are about 130 places > >>that I need to > >>track... --yeah, i did over-do it in the time-breaks in my story. > >> > >>Is there a way of printing th

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-07 Thread Mark Willson
Gary Kline wrote: Yes, this works just fine. I findthat there are about 130 places that I need to track... --yeah, i did over-do it in the time-breaks in my story. Is there a way of printing the string/line in the `manuscript' file along with the line number? I'm

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Kalle Møller
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 whe

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Gary Kline
On Sun, Sep 06, 2009 at 04:23:01PM -0700, Gary Kline wrote: > On Sun, Sep 06, 2009 at 08:11:48PM +0100, Mark Willson wrote: > > 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

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Gary Kline
On Sun, Sep 06, 2009 at 03:44:13PM -0500, Mak Kolybabi wrote: > On 2009-09-05 17:36, 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 > > these > > vertical spacing in all but my origi

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Gary Kline
On Sun, Sep 06, 2009 at 08:11:48PM +0100, Mark Willson wrote: > 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 these vertical spacing in all but my > >original draft. can i use gre

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Mak Kolybabi
On 2009-09-05 17:36, 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 these > vertical spacing in all but my original draft. can i use grep somehow to find > these extra newlines? > > if no

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-06 Thread Mark Willson
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 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 wh

is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-05 Thread Gary Kline
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 these vertical spacing in all but my original draft. can i use grep somehow to find these extra newlines? if not grep, then