Join lines
- From: nickli2000@xxxxxxxxx
- Date: Tue, 21 Aug 2007 09:45:05 -0700
Hi,
I have a file with a lot of lines with a singer number like the
following:
111
222
333
444
555
6666
77777
888
9999
..........
How could I join 3 lines at a time and with a "," in between and at
the beginning of the next line, as in the following:
111,222,333
,444,555,6666
,77777,888,9999
.........
Thanks in advance.
Nick Li
.
- Follow-Ups:
- Re: Join lines
- From: John W. Krahn
- Re: Join lines
- From: Mirco Wahab
- Re: Join lines
- From: Paul Lalli
- Re: Join lines
- Prev by Date: writing array to file?
- Next by Date: Re: how to call sub by value in variable
- Previous by thread: writing array to file?
- Next by thread: Re: Join lines
- Index(es):