title: Seperate String into parts and validate them
body: <p>I'm writing a shell script and I have the string:</p>
  
  <pre><code>2 00:03 2 01:03 2 02:03 2 03:03 2 04:03 2 05:03 2 06:03 2 07:03 2 08:03 2 09:03 2 10:03 2 11:03 2 12:03 2 23:03
  </code></pre>
  
  <p>the leading 2 is the count of the timestamp following. Now I have to validate that each timestamp is counted exact 2 times.</p>
  
  <p>At the end i want an ok or wrong as outcome.</p>
  
  <p>Can't find a solution on myself to seperate the string or do whatever to check it.</p>