title: \r character in shell script
body: <p>I get the below error while trying to execute a shell script,</p>
  
  <pre><code>$'\r': command not found: line 2:
  </code></pre>
  
  <p>Please suggest a solution for the same. </p>
  
  <p>Below are the intial lines used in the script,</p>
  
  <pre><code>#!/bin/sh
  
  if [[ $# -lt 1 ]]; then
     echo "ERROR Environment argument missing &lt;dev,test,qa,prod&gt;"
     export RC=50
     exit $RC
  fi
  </code></pre>