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 <[email protected]> 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 [email protected] 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 > > > > _______________________________________________ > > [email protected] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > [email protected]" > > > > > > -- > > Med Venlig Hilsen > > Kalle R. Møller -- Gary Kline [email protected] 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
