-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Underscores generate syntax errors #7
Labels
Comments
Adding an extra
When run against jq built from master it worked as expected. I think this is a duplicate of #3. The binaries should be updated. |
Newer binaries are up now (this bug was fixed a while ago, but the prebuilt binaries weren't updated). |
stedolan
added a commit
that referenced
this issue
Dec 3, 2012
ghost
mentioned this issue
May 21, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting syntax errors from the Twitter examples (and everytime I try to use underscores):
curl 'http://search.twitter.com/search.json?q=json&rpp=5&include_entities=true | jq '.results[] | {from_user, text, urls: [.entities.urls[].url]}'
error: Invalid character
.results[] | {from_user, text, urls: [.entities.urls[].url]}
^
error: syntax error, unexpected IDENT, expecting '}'
.results[] | {from_user, text, urls: [.entities.urls[].url]}
^^^^
2 compile errors
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5970 100 5970 0 0 11969 0 --:--:-- --:--:-- --:--:-- 23050
(Mac OSX Mountain Lion 10.8.2, Swedish keyboard layout)
The text was updated successfully, but these errors were encountered: