title: Bash: concatenate multiple files and add "\newline" between each?
body: <p>I have a small Bash script that takes all Markdown files of a directory, and merge them into one like this:</p>
  
  <pre><code>for f in *.md; do (cat "${f}";) &gt;&gt; output.md; done
  </code></pre>
  
  <p>It works well. Now I'd like to add the string "\newline" between each document, something like this:</p>
  
  <pre><code>for f in *.md; do (cat "${f}";) + "\newline" &gt;&gt; output.md; done
  </code></pre>
  
  <p>How can I do that? The above code obviously doesn't work.</p>