The file still has improper line endings and carriage returns in it,
process the file with dos2unix.
Code:
--------------------
$ file ~/Downloads/backup.sh
/home/paul/Downloads/backup.sh: POSIX shell script, ASCII text executable,
with CRLF, LF line terminators
$ dos2unix ~/Downloads/backup.sh
dos2unix: converting file /home/paul/Downloads/backup.sh to Unix format...
$ file ~/Downloads/backup.sh
/home/paul/Downloads/backup.sh: POSIX shell script, ASCII text executable
--------------------
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=112456
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix