title: Strange symbols at the end of md5sum
body: <p>I've installed <code>md5sum</code> on MacOSX with:</p>
  
  <pre><code>brew install md5sha1sum
  </code></pre>
  
  <p>And when I tried to create a hash on the terminal:</p>
  
  <pre><code>timestamp=$(date +%m%d%Y%H%M%S)
  UUID="$(echo -n "$timestamp" | md5sum )"
  echo $UUID
  </code></pre>
  
  <p>There's some sort of strange <code>-</code> symbols at the end of the hash:</p>
  
  <p>[out]:</p>
  
  <pre><code>20e220c825391b96359a7093c33e9f18 -
  </code></pre>
  
  <p><strong>Why is that happening? How to get rid of the string tailing symbols?</strong></p>
  
  <p>I could do this:</p>
  
  <pre><code>timestamp=$(date +%m%d%Y%H%M%S)
  UUID="$(echo "$timestamp" | md5sum | cut -d' ' -f1)"
  echo $UUID
  </code></pre>
  
  <p>But is post-processing the string the only way to get rid of the strange symbols?</p>