You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a -f option for this. Supposing we used file extensions to decide whether a file has data or a jq program, what should jq do if invoked with multiple programs? And would positional order matter?
I would like to feed jq a filter program for it to read from a file, such as this:
jq my-awesome-filter.jq whatever.json
or this:
jq -n my-awesome-filter.jq
Right now I'm sidestepping it with (using fish shell):
jq (cat my-awesome-filter.jq | tr -d "\n\r\t") whatever.json
and:
jq -n (cat my-awesome-filter.jq | tr -d "\n\r\t")
Would there be interest on being able to do this? Is there anything I can do to help?
The text was updated successfully, but these errors were encountered: