View Single Post
Old 12-27-2011, 05:28 PM   #43
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by Kucifus View Post
So does anyone know why this syntax error "unexpected character after line continuation character" keeps happening? If I can get past that I might be able to do the rest fine...
That can happen if you edit a script with a Mac or Windows PC.

Linux wants only a LF (line-feed) character at the end of every line. Mac uses only a CR (carriage-return), and Windows or DOS uses CR/LF (both carriage-return and line-feed).

You can either load your script into an editor that supports selecting which end-of-line characters you want, or use a linux convertor to restore LF-only to the lines in the script.
geekmaster is offline   Reply With Quote