2020-06-08 03:29:51 +03:00
|
|
|
/test.jq:
|
|
|
|
123
|
|
|
|
/test2.jq:
|
2021-08-12 00:51:00 +03:00
|
|
|
.headers[0].magic | tovalue
|
2021-09-02 02:34:12 +03:00
|
|
|
/err.jq:
|
|
|
|
asdad)
|
2022-05-21 20:33:52 +03:00
|
|
|
$ fq -n -f test.jq
|
2020-06-08 03:29:51 +03:00
|
|
|
123
|
|
|
|
/test.jq:
|
|
|
|
123
|
2022-05-21 20:33:52 +03:00
|
|
|
$ fq -f test2.jq test.mp3
|
2020-06-08 03:29:51 +03:00
|
|
|
"ID3"
|
2022-05-21 20:33:52 +03:00
|
|
|
$ fq --from-file test2.jq test.mp3
|
2021-09-05 14:24:11 +03:00
|
|
|
"ID3"
|
2022-05-21 20:33:52 +03:00
|
|
|
$ fq -nf err.jq
|
2021-09-02 02:34:12 +03:00
|
|
|
exitcode: 3
|
|
|
|
stderr:
|
2022-05-21 20:33:52 +03:00
|
|
|
error: err.jq:1:6: unexpected token ")"
|
2022-02-21 00:25:46 +03:00
|
|
|
$ fq -n -f missing
|
|
|
|
exitcode: 2
|
|
|
|
stderr:
|
|
|
|
error: missing: no such file or directory
|