<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 23.03.2017 00:25, Jens Simon Strom
wrote:<br>
</div>
<blockquote cite="mid:58D307DD.20601@hslmg.de" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
The test data I posted had been preprocessed manually by
equalizing the spaces between the colums to a single one. The
original output of the MICA astro software aligns the colums
tidily so that the number of spaces varies along a line and from
line to line if the values vary between 1 and 3 digits. One can
fix that with regex. It would be workflow supporting if the
separator input of<font face="Courier New, Courier, monospace">
csvRead</font> would interpret several blanks as equivalent to
one or if automation could be acchieved elsewise.<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:13.0;"><big><big><font color="#330033">Jens</font></big></big>
--------------------------------------------------------------------------------------------------------------------------------------------------
</pre>
<br>
</blockquote>
If you have fixed column widths, maybe something like this is
better:<br>
<span lang="NO-BOK"></span><span style="color:rgb(0,0,0);"><br>
Ma</span><span style="color:rgb(92,92,92);">=</span><span
style="color:rgb(50,185,185);">mgetl</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">filename</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);"><br>
skiplines</span><span style="color:rgb(92,92,92);">=</span><span
style="color:rgb(188,143,143);">7</span><span
style="color:rgb(50,185,185);"><br>
clear</span> <span style="color:rgb(188,143,143);">Md</span><span
style="color:rgb(160,32,240);"><br>
for</span> <span style="color:rgb(0,0,0);">i</span><span
style="color:rgb(92,92,92);">=</span><span
style="color:rgb(0,0,0);">skiplines</span><span
style="color:rgb(92,92,92);">+</span><span
style="color:rgb(188,143,143);">1</span><span
style="color:rgb(255,170,0);">:</span><span
style="color:rgb(50,185,185);">size</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">Ma</span><span style="color:rgb(0,0,0);">,</span><span
style="color:rgb(188,143,143);">1</span><span
style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(188,143,143);"></span><br>
<span style="color:rgb(0,0,0);">Md</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">i</span><span
style="color:rgb(92,92,92);">-</span><span
style="color:rgb(0,0,0);">skiplines</span><span
style="color:rgb(0,0,0);">,</span><span
style="color:rgb(188,143,143);">1</span><span
style="color:rgb(255,170,0);">:</span><span
style="color:rgb(188,143,143);">22</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(92,92,92);">=</span><span
style="color:rgb(50,185,185);">strsplit</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">Ma</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(0,0,0);">i</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">,</span><span
style="color:rgb(74,85,219);">[</span><span
style="color:rgb(188,143,143);">4</span> <span
style="color:rgb(188,143,143);">8</span> <span
style="color:rgb(188,143,143);">12</span> <span
style="color:rgb(188,143,143);">17</span> <span
style="color:rgb(188,143,143);">20</span> <span
style="color:rgb(188,143,143);">21</span> <span
style="color:rgb(188,143,143);">24</span> <span
style="color:rgb(188,143,143);">26</span> <span
style="color:rgb(188,143,143);">27</span> <span
style="color:rgb(188,143,143);">29</span> <span
style="color:rgb(188,143,143);">33</span> <span
style="color:rgb(188,143,143);">35</span> <span
style="color:rgb(188,143,143);">36</span> <span
style="color:rgb(188,143,143);">38</span> <span
style="color:rgb(188,143,143);">42</span> <span
style="color:rgb(188,143,143);">45</span> <span
style="color:rgb(188,143,143);">46</span> <span
style="color:rgb(188,143,143);">48</span> <span
style="color:rgb(188,143,143);">53</span> <span
style="color:rgb(188,143,143);">55</span> <span
style="color:rgb(188,143,143);">56</span><span
style="color:rgb(74,85,219);">]</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(92,92,92);">'</span><span
style="color:rgb(160,32,240);"><br>
end</span><span style="color:rgb(160,32,240);"></span><br>
<br>
Jan-Åge<br>
</body>
</html>