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

Show the path for the match #108

Open
yarikoptic opened this issue Nov 18, 2024 · 0 comments
Open

Show the path for the match #108

yarikoptic opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@yarikoptic
Copy link

Problem Statement

I am surprised we do not have a nice good tool to show the path to the match.

I asked chatgpt and it told me to try xq 'path(.. | select(. == "your_search_value"))' file.xml and obviously that did not work since there seems to be no such "advanced" search options in xq.

I wondered if there could be some "search" mode which also would depict the path to the hit or may be you would recommend alternatives?

Thanks in advance.

@yarikoptic yarikoptic added the enhancement New feature or request label Nov 18, 2024
@yarikoptic yarikoptic changed the title Show the path for the patch Show the path for the match Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants