New
v0.13.0
Changes
- New format decoders
midi,negentropy,tapandtxz, see below for details. - Add
byte_arraybits format. #992# by default binary values are UTF-8 strings $ fq -V -n '[1,2,3] | tobytes' # with -o bits_format=byte_array they are byte arrays instead "\u0001\u0002\u0003" $ fq -cV -n -o bits_format=byte_array '[1,2,3] | tobytes' [1,2,3] # data is a string $ fq '.program_headers[] | select(.type=="interp")' /bin/ls {"align":1,"data":"/lib/ld-musl-x86_64.so.1\u0000", ...} # data is a byte array $ fq -cV -o bits_format=byte_array '.program_headers[] | select(.type=="interp")' /bin/ls {"align":1,"data":[47,108,105,98,47,108,100,45,109,117,115,108,45,120,56,54,95,54,52,46,115,111,46,49,0], ...} - Go 1.22 or later is now required to build. This is to keep up with build requirements of some dependencies. #1011
- gojq changes from upstream: #1000
- Implement
add/1function - Improve time functions to accept fewer element arrays
- Fix uri and urid formats not to convert a space between a plus sign
- Implement