How to append a newline to a variable in sh?
<pre><code>var  = "a common string \n $var"
</code></pre>

<p>I am passing this var to some other method and I am printing var in that other method.i am not able to edit that other method. So <code>echo -e</code> and <code>printf</code> statements cannot be used by me. But I need that \n to be printed as new line instead of that exact literal.</p>