title: Print only the first word of each paragraph using sed
body: <p>I am wondering how I can print out only the first word of every paragraph with a sed one-liner. A paragraph in this case is defined by a text that follows 2 line breaks.</p>
  
  <p>e.g.</p>
  
  <pre><code>This is a paragraph with some text. Some random text that is not really important.
  
  This is another paragraph with some text.
  However this sentence is still in the same paragraph.
  </code></pre>
  
  <p>this should be transformed to</p>
  
  <pre><code>This
  
  This
  </code></pre>