bash - How to pass a line feed to a script?
<p>Here is a simple script called <strong>command.sh</strong>:</p>

<pre><code>#!/bin/bash

echo "I received: |$1|"
</code></pre>

<p>When I call it with a line feed, it doesn't output it:</p>

<pre><code>$ ./command.sh foo\
&gt; bar
I received: |foobar|
</code></pre>

<p>Why does the line feed get lost?</p>