fq - jq for binary formats Tool, language and decoders for working with binary data. For more information see https://github.com/wader/fq Usage: /usr/bin/fq [OPTIONS] [--] [EXPRESSION] [FILE...] Example usages: fq . file fq d file fq -V '.path[1].value' file fq tovalue file fq -r to_toml file.yml fq -s -d html 'map(.html.head.title?)' *.html cat file.cbor | fq -d cbor torepr fq 'grep("^main$") | parent' /bin/ls fq -i --arg NAME VALUE Set $NAME to string VALUE --argdecode NAME PATH Set $NAME to decode of PATH --argjson NAME JSON Set $NAME to JSON --args Consume remaining arguments as positional strings --color-output,-C Force color output --compact-output,-c Use compact output --decode,-d NAME Decode format or group (probe) --from-file,-f PATH Read EXPRESSION from file --help,-h [TOPIC] Show help for TOPIC (ex: -h formats, -h mp4) --include-path,-L PATH Add PATH to include search paths --join-output,-j No newline after each output --jsonargs Consume remaining arguments as positional JSON --monochrome-output,-M Force monochrome output --null-input,-n Null input (use input and inputs to read) --option,-o NAME=VALUE/@PATH Set option (ex: -o color=true, see --help options) --raw-file NAME PATH Set $NAME to string content of file --raw-input,-R Read raw input strings (don't decode) --raw-output,-r Raw string output (without quotes) --raw-output0 NUL (zero) byte after each output --repl,-i Interactive REPL --slurp,-s Slurp all inputs into an array or string (-Rs) --unicode-output,-U Force unicode output --value-output,-V Output JSON value (-Vr for raw string) --version,-v Show version