[von -y] wird in Kombination mit den anderen Optionen nicht verstanden

sed -i 's/\r//g' script.sh
#Just execute command above to fix problem replacing script name for yours ;)
Hurt Hare