Skip to content

Fixing a define script error#36

Open
Konstantin-Kuney wants to merge 1 commit into
BreadOnPenguins:masterfrom
Konstantin-Kuney:master
Open

Fixing a define script error#36
Konstantin-Kuney wants to merge 1 commit into
BreadOnPenguins:masterfrom
Konstantin-Kuney:master

Conversation

@Konstantin-Kuney
Copy link
Copy Markdown

Error:
$ ./define test
jq: error: syntax error, unexpected '[', expecting FORMAT or QQSTRING_START (Unix shell quoting issues?) at , line 1:
[.[].meanings[] | {pos: .partOfSpeech, def: .definitions[].definition}] | .[:3].[] | "\n(.pos). (.def)"
jq: 1 compile error

The dot in line 17 has been deleted.

before: "| .[:3].[] |"
after: "| .[:3][] |"

The dot in line 17 has been deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant