I'm trying to extract data from a file that has columns with two different sizes. One of size 1, the other size 6. Unfortunately, I can't find a delimiter that works. The columns are not evenly spaced and neither are they the same size.
Example file:
1234
123 456 -789
24 -678 9
5678
123 456 -789
24 -678 9
9012
123 456 -789
24 -678 9
.
.
.
How would I extract this into an m x 6 array?
I tried using '\t'
, '\r'
, and ' '
, but I'm lost.