[Techtalk] VI(M) - Changing & Merging 2 lines?
Hamster
hamster at hamsternet.org
Mon Sep 1 17:55:00 EST 2003
On Mon, 1 Sep 2003 11:29:21 -0400
Subba Rao <subba9 at cablespeed.com> wrote:
>
> I have a large text file where 2 lines (fields) form a record. Now I want
>
> to merge the 2 lines into one line seperated by a comma.
>
> Line1
> Line2
>
> The fields should be seperated by a comma.
>
> Line1,Line2
Does it have to be done in Vi? It would be very easy to whip up a bash
script that did that.
Hamster
More information about the Techtalk
mailing list