If scripts fail to run after editing them on a windows based pc try converting the file back to unix format with dos2unix:
apt-get install dos2unix
usage:
dos2unix filename.xxx
If scripts fail to run after editing them on a windows based pc try converting the file back to unix format with dos2unix:
apt-get install dos2unix
usage:
dos2unix filename.xxx