execute the following in termial:
head -1 yourscript | od -c
if it ends with \r \n then it is not in the correct format.
if it ends with \n with no \r preceding that, then it is correct.
to fix the file, use dos2linux
sudo apt-get install dos2linux
Post a Comment