1
1
mirror of https://github.com/wader/fq.git synced 2024-12-02 12:45:53 +03:00
fq/pkg/interp/testdata/exprfile.fqtest

23 lines
336 B
Plaintext
Raw Normal View History

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
/err.jq:
asdad)
$ fq -n -f test.jq
2020-06-08 03:29:51 +03:00
123
/test.jq:
123
$ fq -f test2.jq test.mp3
2020-06-08 03:29:51 +03:00
"ID3"
$ fq --from-file test2.jq test.mp3
2021-09-05 14:24:11 +03:00
"ID3"
$ fq -nf err.jq
exitcode: 3
stderr:
error: err.jq:1:6: unexpected token ")"
$ fq -n -f missing
exitcode: 2
stderr:
error: missing: no such file or directory