Quote:
Originally Posted by megalivestream
i ran the scrupt by it self and this is what i got
$ ./rtmp.sh
./rtmp.sh: line 5: $'\r': command not found
./rtmp.sh: line 6: syntax error near unexpected token `$'{\r''
'/rtmp.sh: line 6: `pid(){
|
Cygwin uses LF (
\n) for line endings. If you have copy pasted the script into a text editor that uses CRLF (
\r\n) line endings then Cygwin interprets the
\r as a command. This can be fixed by actually downloading the script, or using a text editor with LF (
\n) line endings.