title: How do I replace : characters with newline?
body: <p>I looked at a very similar question but was unable to resolve the issue <a href="https://stackoverflow.com/questions/10748453/replace-comma-with-newline-in-sed">Replace comma with newline in sed</a></p>
  
  <p>I am trying to convert <code>:</code> characters in a string. This is what I tried:</p>
  
  <pre><code>echo -e 'this:is:a:test' | sed "s/\:/'\n'/g"
  </code></pre>
  
  <p>but this replaces : with n. I tried tr too but had the same result. I believe the -e is not seen after being piped so new line is not recognized.</p>
  
  <p>Any help is appreciated.</p>