Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error near unexpected token `(' #9670

Closed
guoyida opened this issue Jun 2, 2016 · 2 comments
Closed

syntax error near unexpected token `(' #9670

guoyida opened this issue Jun 2, 2016 · 2 comments

Comments

@guoyida
Copy link

@guoyida guoyida commented Jun 2, 2016

I am using the latest build to download from Lynda on my Mac.
I know this is a bit silly, but I got this warning:
-bash: syntax error near unexpected token `('
I try to type the command serval times just to make sure I don't have funny '(' or ')'
This is the command I used:

-o '%(id)s-%(title)s.%(ext)s' https://www.lynda.com/some-course --username usr --password pwd

I suppose the error comes from the argument -o, but I just could not find the difference with the example except that I flip id and title. Please help!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 2, 2016

Could you try double quotes? For example:

-o "%(id)s-%(title)s.%(ext)s" https://www.lynda.com/some-course --username usr --password pwd
@guoyida
Copy link
Author

@guoyida guoyida commented Jun 2, 2016

It worked when I copy your command. I noticed that my " is different than yours, but I am using English as my input source. Thank you very much!

@guoyida guoyida closed this Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.