paul- wrote: > 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 > -------------------- > > Great - that was it! (The 'file' cmd doesn't seem to be present on PCP ('find' couldn't find it), but dos2unix was and it did the job - no more errors!) Tx!
------------------------------------------------------------------------ mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix