vimeo-download icon indicating copy to clipboard operation
vimeo-download copied to clipboard

unexpected token `newline'

Open raywhitehouse opened this issue 7 years ago • 3 comments

Hi,

i've installed ffmpeg and requirements.txt but when I put the run the command with the master json url, I get: -bash: syntax error near unexpected token `newline'

Any ideas about how to resolve this?

-Ray

raywhitehouse avatar Apr 11 '18 05:04 raywhitehouse

that should not happen. are you sure you downloaded the script correctly?

eMBee avatar Apr 11 '18 06:04 eMBee

i think so.... just downloaded a .zip file, unzipped it and then did a cd to the folder in terminal.

raywhitehouse avatar Apr 11 '18 16:04 raywhitehouse

I think the error you have comes from the format of the newlines in the script. Bash wants LF only, but I'm pretty sure the script contains CR+LF.

radiolondra avatar Jun 26 '18 06:06 radiolondra