in reply to Combining multiple lines based on the given condition
It would also be good that you use code tags (<c> and </c>) to show the content of your file as it is really formated (as well as the desired output), since the solution might be different if your file looks like this:
abc,2,3,4,5,6 abc,7,5,2,1,6,2,3 abc,8,2,1,3,1,4 ....... def,8,9,4,5,6 def,5,6,2,1or if it looks like that:
abc,2,3,4,5,6 abc,7,5,2,1,6,2,3 abc,8,2,1,3,1,4 ....... def,8,9,4,5,6 def,5,6,2,1
The fact that you don't have commas before the three-letter groups leads me to think that it is more probably the second case, but we can't know for sure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Combining multiple lines based on the given condition
by anony (Initiate) on Oct 18, 2013 at 22:20 UTC | |
by marinersk (Priest) on Oct 18, 2013 at 23:21 UTC | |
by 2teez (Vicar) on Oct 19, 2013 at 02:38 UTC | |
by Laurent_R (Canon) on Oct 19, 2013 at 10:34 UTC |