Your script was written with a DOS editor and contains \r\n
line endings. *nix (including cygwin) uses \n
line endings, so the \r
character remains at the end of the sed p
command.
See if you have dos2unix
available, or run this command on the script
sed 's/\r$//' umlauts.sh