in reply to Spliting Table
If anyone of you wise guys out there has a solution, I would be veeeeeery grateful to hear about it.
Here is solution
shortInfile.txt person 1 2 3 4 5 6 7 8 9 abe 1 2 3 4 5 6 7 8 9 lincoln 1 2 3 4 5 6 7 8 9
Becomes
person.txt 1 2 3 4 something something abe.txt 1 2 3 4 something something lincoln.txt 1 2 3 4 something something
The solution is to describe the desired output based on representative input which is very short. After you do that, you can wrap your head around it, write code to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spliting Table (a solution)
by tschelineli (Initiate) on Aug 20, 2015 at 07:53 UTC | |
by Anonymous Monk on Aug 20, 2015 at 08:50 UTC | |
by Anonymous Monk on Aug 20, 2015 at 09:27 UTC |