-
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
Read file list from file #2499
Comments
Hi, if a shell is available i think you can do something like Maybe related PR #1843 (but seems it has stagnated) |
No wonder, that PR does way too many things... I'm on Windows, so I guess The point of the feature request is that we're not dependent on any shell functionality and quirks and weird syntaxes. |
@TWiStErRob - As you may have noticed, development of jq has been in a dormant state for quite some time. You might like to try your luck with some of the jq "clones" or look-alikes -- particularly gojq, but also jaq or jackson-jq. Are there any others? In the meantime, have you considered WSL? |
Yep, WSL works: https://stackoverflow.com/a/74449427/253468 |
Describe the feature
I would like to be able to say
jq -s ".[].field" -F files.txt
Expected behavior
Reads the contents of
files.txt
and loads them as json files. The same as adding all those files as arguments in place of-F files.txt
.Ideally combinable with normal file arguments:
jq -s ".[].field" foo.json bar.json -F files.txt some_*_other.json
Additional context
Similar to this but without the
file '...'
fluff.The text was updated successfully, but these errors were encountered: