title: parse and concatenate phrases
body: <p>I have a file dump which has the records of individuals:</p>
  
  <pre><code>.....Detail....account=xxxxx,......state=yyyyy,....
  .....Detail....account=aaaaa,......state=bbbbb,....
  </code></pre>
  
  <p>What would be a way to extract the 2 phrases concatenated together using awk,sed or grep?<br>
  Would it be possible in a single-pass command line?   </p>
  
  <p>Expected output(delimiter does not matter):  </p>
  
  <pre><code>xxxxx-yyyyy
  aaaaa-bbbbb
  </code></pre>