title: bash script line by line
body: <p>I'm looking for a bash script that read line by line one file .log </p>
  
  <pre><code>example .log file:
  
  test1: AAAA
  test2: BBBB
  test3: AAAB
  ....
  testx: BBBA
  </code></pre>
  
  <p>and print in stdout the results ( number of test, number of test type with different letters in the results (like AAAB or BAAA etc. )</p>
  
  <pre><code>example sdout:
  
  Results with different letters, number of results with different letters
  </code></pre>
  
  <p>It's possibile? Thanks!</p>