title: How to extract patterns form a text files in shell bash
body: <p>I have a text file that contains:</p>
  
  <pre><code>toto.titi.any=val1
  toto.tata.any=val2
  toto.tete.any=val2
  </code></pre>
  
  <p>How to extract <code>titi</code> , <code>tata</code> and <code>tete</code> from this file.</p>
  
  <p>Should be some sthing like that</p>
  
  <pre><code>$ cat myfile.txt | sed '......' 
  </code></pre>
  
  <p>and the output should be</p>
  
  <pre><code>titi
  tata
  tete
  </code></pre>