How to remove %0D from end of URL when using wget?
I have a sh script with the following wget. However, when executed on the linux box, wget is attemping the second
The OD character is a carriage return, part of the CRLF sequence that Windows uses for line endings just to be different as usual.
OD
You can use dos2unix to fix the line endings before executing, and in future don't use Notepad to write shell scripts.
dos2unix myscript.sh ./myscript.sh