Date: Mon, 2 Sep 2002 21:57:04 -0500 From: Aravind Gottipati <aravind@kc.rr.com> Subject: Re: Insert a NEWLINE character. Message-ID: <20020903031206.GA28016@kc.rr.com>
oops,
sorry, scratch that first method. Wont work in vim. The second one
works for sure!
bye
Aravind
p.s: Yes, I will test my solutions before I send them out next time.
sometime around Mon, Sep 02, 2002 at 10:07:56PM -0500
Aravind Gottipati wrote:
> Hi,
>
> This works in vim, not sure about other vi flavours.
>
> %s/^REF/<CR>REF/
>
> This should work in most vi's
>
> %s/^REF/
REF/
>
> thats a CTRL-M
>
> HTH
> aravind
>
> sometime around Mon, Sep 02, 2002 at 08:35:36PM -0500
> Jonathan Hutchins wrote:
> > Ok, I have a text file where the line breaks got stripped, but each line
> > that needs to break begins with the same sequence. How do I tell vi "find
> > 'REF' replace with '<CR>REF'?
> >
> >
>
> --
> Let me put it this way: today is going to be a learning experience
> -- Anonymous
> (seen on slashdot)
-- Let me put it this way: today is going to be a learning experience -- Anonymous (seen on slashdot)