1$ fq 2exitcode: 2 3stderr: 4Usage: fq [OPTIONS] [--] [EXPR] [FILE...] 5$ fq -h 6fq - jq for binary formats 7Tool, language and decoders for inspecting binary data. 8For more information see https://github.com/wader/fq 9 10Usage: fq [OPTIONS] [--] [EXPR] [FILE...] 11 12--arg NAME VALUE Set variable $NAME to string VALUE 13--argjson NAME JSON Set variable $NAME to JSON 14--color-output,-C Force color output 15--compact-output,-c Compact output 16--decode,-d NAME Decode format (probe) 17--decode-file NAME PATH Set variable $NAME to decode of file 18--formats Show supported formats 19--from-file,-f PATH Read EXPR from file 20--help,-h Show help 21--include-path,-L PATH Include search path 22--join-output,-j No newline between outputs 23--monochrome-output,-M Force monochrome output 24--null-input,-n Null input (use input/0 and inputs/0 to read input) 25--null-output,-0 Null byte between outputs 26--option,-o KEY=VALUE Set option, eg: color=true (use options/0 to see all options) 27--raw-file NAME PATH Set variable $NAME to string content of file 28--raw-input,-R Read raw input strings (don't decode) 29--raw-output,-r Raw string output (without quotes) 30--repl,-i Interactive REPL 31--slurp,-s Read (slurp) all inputs into an array 32--version,-v Show version 33$ fq -i 34null> ^D 35$ fq -i . /test.mp3 36mp3> ^D 37$ fq -n 38null 39$ fq -ni 40null> ^D 41$ fq -n 123 42123 43$ fq -ni 123 44number> ^D 45$ fq -n "[1,2,3]" 46[ 47 1, 48 2, 49 3 50] 51$ fq -nc "[1,2,3]" 52[1,2,3] 53$ fq --formats 54aac_frame Advanced Audio Coding frame 55adts Audio Data Transport Stream 56adts_frame Audio Data Transport Stream frame 57apev2 APEv2 metadata tag 58av1_ccr AV1 Codec Configuration Record 59av1_frame AV1 frame 60av1_obu AV1 Open Bitstream Unit 61avc_annexb H.264/AVC Annex B 62avc_au H.264/AVC Access Unit 63avc_dcr H.264/AVC Decoder Configuration Record 64avc_nalu H.264/AVC Network Access Layer Unit 65avc_pps H.264/AVC Picture Parameter Set 66avc_sei H.264/AVC Supplemental Enhancement Information 67avc_sps H.264/AVC Sequence Parameter Set 68bzip2 bzip2 compression 69dns DNS packet 70dns_tcp DNS packet (TCP) 71elf Executable and Linkable Format 72ether8023_frame Ethernet 802.3 frame 73exif Exchangeable Image File Format 74flac Free Lossless Audio Codec file 75flac_frame FLAC frame 76flac_metadatablock FLAC metadatablock 77flac_metadatablocks FLAC metadatablocks 78flac_picture FLAC metadatablock picture 79flac_streaminfo FLAC streaminfo 80gif Graphics Interchange Format 81gzip gzip compression 82hevc_annexb H.265/HEVC Annex B 83hevc_au H.265/HEVC Access Unit 84hevc_dcr H.265/HEVC Decoder Configuration Record 85hevc_nalu H.265/HEVC Network Access Layer Unit 86icc_profile International Color Consortium profile 87icmp Internet Control Message Protocol 88id3v1 ID3v1 metadata 89id3v11 ID3v1.1 metadata 90id3v2 ID3v2 metadata 91ipv4_packet Internet protocol v4 packet 92jpeg Joint Photographic Experts Group file 93json JSON 94matroska Matroska file 95mp3 MP3 file 96mp3_frame MPEG audio layer 3 frame 97mp4 MPEG-4 file and similar 98mpeg_asc MPEG-4 Audio Specific Config 99mpeg_es MPEG Elementary Stream 100mpeg_pes MPEG Packetized elementary stream 101mpeg_pes_packet MPEG Packetized elementary stream packet 102mpeg_spu Sub Picture Unit (DVD subtitle) 103mpeg_ts MPEG Transport Stream 104ogg OGG file 105ogg_page OGG page 106opus_packet Opus packet 107pcap PCAP packet capture 108pcapng PCAPNG packet capture 109png Portable Network Graphics file 110protobuf Protobuf 111protobuf_widevine Widevine protobuf 112pssh_playready PlayReady PSSH 113raw Raw bits 114sll2_packet Linux cooked capture encapsulation v2 115sll_packet Linux cooked capture encapsulation 116tar Tar archive 117tcp_segment Transmission control protocol segment 118tiff Tag Image File Format 119udp_datagram User datagram protocol 120vorbis_comment Vorbis comment 121vorbis_packet Vorbis packet 122vp8_frame VP8 frame 123vp9_cfm VP9 Codec Feature Metadata 124vp9_frame VP9 frame 125vpx_ccr VPX Codec Configuration Record 126wav WAV file 127webp WebP image 128xing Xing header 129zip ZIP archive 130$ fq -X 131exitcode: 2 132stderr: 133error: -X: no such argument 134$ fq --X 135exitcode: 2 136stderr: 137error: --X: no such argument 138$ fq -. 139exitcode: 2 140stderr: 141error: -.: no such argument 142