amenex wrote:
>Not just _any_ new line character: A combination of the new line character
>on the end of one row, plus the phrase at the beginning of the following row.

>Removing the new line characters willy-nilly will leave a one-row file with
>all 750,000 lines all concatenated together ... I've done that inadvertently.

Did you even bother to read the regular expression I provided to use in vim?

%s/\nSee the result for/\tSee/g
it means: Find the new line followed by "See the result for" and replace it with tab character followed by a word "See" - exactly what you've been asking about.

Reply via email to