caractere no script de shell

Recebo o erro abaixo ao tentar executar um script de shell,

Por favor, sugira uma solução para o mesmo.

Abaixo estão as linhas iniciais usadas no script,

#!/bin/sh

if [[ $# -lt 1 ]]; then
   echo "ERROR Environment argument missing <dev,test,qa,prod>"
   export RC=50
   exit $RC
fi
\r': command not found: line 2:

Por favor, sugira uma solução para o mesmo.

Abaixo estão as linhas iniciais usadas no script,

#!/bin/sh

if [[ $# -lt 1 ]]; then
   echo "ERROR Environment argument missing <dev,test,qa,prod>"
   export RC=50
   exit $RC
fi

questionAnswers(5)

yourAnswerToTheQuestion