mirror of
https://github.com/wader/fq.git
synced 2024-12-27 15:42:07 +03:00
051a70bd4b
All other ranges and slicing uses exclusive end so i think it make sense to make it consistent. Update docs and add additional example for non-byte-aligned field. Also fixes issue showing zero bit ranges as start-NA.
6 lines
242 B
Plaintext
6 lines
242 B
Plaintext
$ fq -n '"test" | tobytes'
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
|
0x0|74 65 73 74| |test| |.: raw bits 0x0-0x4 (4)
|
|
$ fq -n -o raw_output=true '"test" | tobytes'
|
|
test\
|