Skip to content

More examples #33

@grimnight

Description

@grimnight

It would be helpful to have more examples.

I have been trying to get the following to work:

curl -s https://news.ycombinator.com/ | hq '{posts: .athing | [{url: .titleline > a | @(href), title: .titleline > a, comments: .age > a | @(href) }]}' | jq '.'

But lacking examples I haven't been able to get it to work yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions