mirror of
https://github.com/wader/fq.git
synced 2024-11-21 23:04:07 +03:00
doc: Document display and some more jq hints
Also fixed some verbose -> dv leftovers
This commit is contained in:
parent
bc20f09fdb
commit
f0ce7179b2
2
.github/ISSUE_TEMPLATE/issue.md
vendored
2
.github/ISSUE_TEMPLATE/issue.md
vendored
@ -30,7 +30,7 @@ Please provide command line arguments, jq script, command output etc.
|
||||
If possible please attach or share link to affected example files.
|
||||
|
||||
To get more information about what is going on you can try to force a format and
|
||||
ask for verbose output using "fq -d <format> v file"
|
||||
ask for verbose output using "fq -d <format> dv file"
|
||||
-->
|
||||
|
||||
### What result did you expect?
|
||||
|
11
Makefile
11
Makefile
@ -32,12 +32,15 @@ cover: test
|
||||
cat cover.out.html | grep '<option value="file' | sed -E 's/.*>(.*) \((.*)%\)<.*/\2 \1/' | sort -rn
|
||||
|
||||
.PHONY: doc
|
||||
doc: fq doc/file.mp3 doc/file.mp4 doc/formats.svg doc/demo.svg
|
||||
doc: doc/formats.svg doc/demo.svg
|
||||
doc: doc/display_json.svg
|
||||
doc: doc/display_decode_value.svg
|
||||
doc: doc/display_decode_value_d.svg
|
||||
doc: doc/display_decode_value_dv.svg
|
||||
@doc/mdsh.sh ./fq *.md doc/*.md
|
||||
|
||||
.PHONY: doc/demo.svg
|
||||
doc/demo.svg: fq
|
||||
(cd doc ; ./demo.sh ../fq) | go run github.com/wader/ansisvg@master > doc/demo.svg
|
||||
doc/%.svg: doc/%.sh fq
|
||||
(cd doc ; ../$< ../fq) | go run github.com/wader/ansisvg@master > $@
|
||||
|
||||
.PHONY: doc/formats.svg
|
||||
doc/formats.svg: fq
|
||||
|
@ -34,8 +34,8 @@ Flags can be struct with bit-fields.
|
||||
|
||||
### Development tips
|
||||
|
||||
I ususally use `-d <format>` and `v` while developing, that way you will get a decode tree
|
||||
even if it fails. `v` gives verbose output and also includes stacktrace.
|
||||
I ususally use `-d <format>` and `dv` while developing, that way you will get a decode tree
|
||||
even if it fails. `dv` gives verbose output and also includes stacktrace.
|
||||
|
||||
```sh
|
||||
go run fq.go -d <format> v file
|
||||
|
10
doc/display_decode_value.sh
Executable file
10
doc/display_decode_value.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
FQ="$1"
|
||||
|
||||
s() {
|
||||
echo "\$ $1"
|
||||
sh -c "${1/fq/$FQ -o unicode=true -C}"
|
||||
}
|
||||
|
||||
s "fq 'first(grep_by(.type == \"elst\"))' file.mp4"
|
380
doc/display_decode_value.svg
Normal file
380
doc/display_decode_value.svg
Normal file
@ -0,0 +1,380 @@
|
||||
<svg viewBox="0 0 880 160" width="880" height="160" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<style>
|
||||
rect { shape-rendering: crispEdges; }
|
||||
text {
|
||||
dominant-baseline: text-before-edge;
|
||||
white-space: pre;
|
||||
font: 14px monospace;
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.u { text-decoration: underline; }
|
||||
</style>
|
||||
<rect width="100%" height="100%" x="0" y="0" style="fill: #000000"/>
|
||||
<text x="0" y="0">$</text>
|
||||
<text x="16" y="0">f</text>
|
||||
<text x="24" y="0">q</text>
|
||||
<text x="40" y="0">'</text>
|
||||
<text x="48" y="0">f</text>
|
||||
<text x="56" y="0">i</text>
|
||||
<text x="64" y="0">r</text>
|
||||
<text x="72" y="0">s</text>
|
||||
<text x="80" y="0">t</text>
|
||||
<text x="88" y="0">(</text>
|
||||
<text x="96" y="0">g</text>
|
||||
<text x="104" y="0">r</text>
|
||||
<text x="112" y="0">e</text>
|
||||
<text x="120" y="0">p</text>
|
||||
<text x="128" y="0">_</text>
|
||||
<text x="136" y="0">b</text>
|
||||
<text x="144" y="0">y</text>
|
||||
<text x="152" y="0">(</text>
|
||||
<text x="160" y="0">.</text>
|
||||
<text x="168" y="0">t</text>
|
||||
<text x="176" y="0">y</text>
|
||||
<text x="184" y="0">p</text>
|
||||
<text x="192" y="0">e</text>
|
||||
<text x="208" y="0">=</text>
|
||||
<text x="216" y="0">=</text>
|
||||
<text x="232" y="0">"</text>
|
||||
<text x="240" y="0">e</text>
|
||||
<text x="248" y="0">l</text>
|
||||
<text x="256" y="0">s</text>
|
||||
<text x="264" y="0">t</text>
|
||||
<text x="272" y="0">"</text>
|
||||
<text x="280" y="0">)</text>
|
||||
<text x="288" y="0">)</text>
|
||||
<text x="296" y="0">'</text>
|
||||
<text x="312" y="0">f</text>
|
||||
<text x="320" y="0">i</text>
|
||||
<text x="328" y="0">l</text>
|
||||
<text x="336" y="0">e</text>
|
||||
<text x="344" y="0">.</text>
|
||||
<text x="352" y="0">m</text>
|
||||
<text x="360" y="0">p</text>
|
||||
<text x="368" y="0">4</text>
|
||||
<text x="40" y="16">│</text>
|
||||
<text x="48" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="16">│</text>
|
||||
<text x="432" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="440" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="448" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="456" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="464" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="472" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="480" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="488" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="496" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="504" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="512" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="520" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="528" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="536" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="544" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="552" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="560" y="16">│</text>
|
||||
<text x="568" y="16">.</text>
|
||||
<text x="576" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="584" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="592" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="600" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="608" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="16">[</text>
|
||||
<text x="624" y="16" style="fill: #00bbbb">3</text>
|
||||
<text x="632" y="16">]</text>
|
||||
<text x="640" y="16">.</text>
|
||||
<text x="648" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="656" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="664" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="672" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="680" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="688" y="16">[</text>
|
||||
<text x="696" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="704" y="16">]</text>
|
||||
<text x="712" y="16">.</text>
|
||||
<text x="720" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="728" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="736" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="744" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="752" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="760" y="16">[</text>
|
||||
<text x="768" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="776" y="16">]</text>
|
||||
<text x="784" y="16">.</text>
|
||||
<text x="792" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="800" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="808" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="816" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="824" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="832" y="16">[</text>
|
||||
<text x="840" y="16" style="fill: #00bbbb">0</text>
|
||||
<text x="848" y="16">]</text>
|
||||
<text x="856" y="16">{</text>
|
||||
<text x="864" y="16">}</text>
|
||||
<text x="872" y="16">:</text>
|
||||
<text x="0" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="32" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="32" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="32" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="32">│</text>
|
||||
<text x="168" y="32" style="fill: #555555">0</text>
|
||||
<text x="176" y="32" style="fill: #555555">0</text>
|
||||
<text x="192" y="32" style="fill: #555555">0</text>
|
||||
<text x="200" y="32" style="fill: #555555">0</text>
|
||||
<text x="216" y="32" style="fill: #555555">0</text>
|
||||
<text x="224" y="32" style="fill: #555555">0</text>
|
||||
<text x="240" y="32" style="fill: #ffffff">1</text>
|
||||
<text x="248" y="32" style="fill: #ffffff">c</text>
|
||||
<text x="424" y="32">│</text>
|
||||
<text x="472" y="32" style="fill: #555555">.</text>
|
||||
<text x="480" y="32" style="fill: #555555">.</text>
|
||||
<text x="488" y="32" style="fill: #555555">.</text>
|
||||
<text x="496" y="32" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="32">│</text>
|
||||
<text x="584" y="32" style="fill: #5555ff">s</text>
|
||||
<text x="592" y="32" style="fill: #5555ff">i</text>
|
||||
<text x="600" y="32" style="fill: #5555ff">z</text>
|
||||
<text x="608" y="32" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="32">:</text>
|
||||
<text x="632" y="32" style="fill: #00bbbb">2</text>
|
||||
<text x="640" y="32" style="fill: #00bbbb">8</text>
|
||||
<text x="0" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="48" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="48" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="48" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="48">│</text>
|
||||
<text x="264" y="48">6</text>
|
||||
<text x="272" y="48">5</text>
|
||||
<text x="288" y="48">6</text>
|
||||
<text x="296" y="48">c</text>
|
||||
<text x="312" y="48">7</text>
|
||||
<text x="320" y="48">3</text>
|
||||
<text x="336" y="48">7</text>
|
||||
<text x="344" y="48">4</text>
|
||||
<text x="424" y="48">│</text>
|
||||
<text x="504" y="48">e</text>
|
||||
<text x="512" y="48">l</text>
|
||||
<text x="520" y="48">s</text>
|
||||
<text x="528" y="48">t</text>
|
||||
<text x="560" y="48">│</text>
|
||||
<text x="584" y="48" style="fill: #5555ff">t</text>
|
||||
<text x="592" y="48" style="fill: #5555ff">y</text>
|
||||
<text x="600" y="48" style="fill: #5555ff">p</text>
|
||||
<text x="608" y="48" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="48">:</text>
|
||||
<text x="632" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="640" y="48" style="fill: #00bb00">e</text>
|
||||
<text x="648" y="48" style="fill: #00bb00">l</text>
|
||||
<text x="656" y="48" style="fill: #00bb00">s</text>
|
||||
<text x="664" y="48" style="fill: #00bb00">t</text>
|
||||
<text x="672" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="688" y="48">(</text>
|
||||
<text x="696" y="48">A</text>
|
||||
<text x="704" y="48">n</text>
|
||||
<text x="720" y="48">e</text>
|
||||
<text x="728" y="48">d</text>
|
||||
<text x="736" y="48">i</text>
|
||||
<text x="744" y="48">t</text>
|
||||
<text x="760" y="48">l</text>
|
||||
<text x="768" y="48">i</text>
|
||||
<text x="776" y="48">s</text>
|
||||
<text x="784" y="48">t</text>
|
||||
<text x="792" y="48">)</text>
|
||||
<text x="0" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="64" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="64" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="64" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="64">│</text>
|
||||
<text x="360" y="64" style="fill: #555555">0</text>
|
||||
<text x="368" y="64" style="fill: #555555">0</text>
|
||||
<text x="424" y="64">│</text>
|
||||
<text x="536" y="64" style="fill: #555555">.</text>
|
||||
<text x="560" y="64">│</text>
|
||||
<text x="584" y="64" style="fill: #5555ff">v</text>
|
||||
<text x="592" y="64" style="fill: #5555ff">e</text>
|
||||
<text x="600" y="64" style="fill: #5555ff">r</text>
|
||||
<text x="608" y="64" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="64" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="64" style="fill: #5555ff">o</text>
|
||||
<text x="632" y="64" style="fill: #5555ff">n</text>
|
||||
<text x="640" y="64">:</text>
|
||||
<text x="656" y="64" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="80" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="80" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="80" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="80">│</text>
|
||||
<text x="384" y="80" style="fill: #555555">0</text>
|
||||
<text x="392" y="80" style="fill: #555555">0</text>
|
||||
<text x="408" y="80" style="fill: #555555">0</text>
|
||||
<text x="416" y="80" style="fill: #555555">0</text>
|
||||
<text x="424" y="80">│</text>
|
||||
<text x="544" y="80" style="fill: #555555">.</text>
|
||||
<text x="552" y="80" style="fill: #555555">.</text>
|
||||
<text x="560" y="80">│</text>
|
||||
<text x="584" y="80" style="fill: #5555ff">f</text>
|
||||
<text x="592" y="80" style="fill: #5555ff">l</text>
|
||||
<text x="600" y="80" style="fill: #5555ff">a</text>
|
||||
<text x="608" y="80" style="fill: #5555ff">g</text>
|
||||
<text x="616" y="80" style="fill: #5555ff">s</text>
|
||||
<text x="624" y="80">:</text>
|
||||
<text x="640" y="80" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="96" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="96" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="96" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="96">│</text>
|
||||
<text x="48" y="96" style="fill: #555555">0</text>
|
||||
<text x="56" y="96" style="fill: #555555">0</text>
|
||||
<text x="424" y="96">│</text>
|
||||
<text x="432" y="96" style="fill: #555555">.</text>
|
||||
<text x="560" y="96">│</text>
|
||||
<text x="0" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="112" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="112" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="112" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="112">│</text>
|
||||
<text x="72" y="112" style="fill: #555555">0</text>
|
||||
<text x="80" y="112" style="fill: #555555">0</text>
|
||||
<text x="96" y="112" style="fill: #555555">0</text>
|
||||
<text x="104" y="112" style="fill: #555555">0</text>
|
||||
<text x="120" y="112" style="fill: #555555">0</text>
|
||||
<text x="128" y="112" style="fill: #555555">0</text>
|
||||
<text x="144" y="112" style="fill: #ffffff">0</text>
|
||||
<text x="152" y="112" style="fill: #ffffff">1</text>
|
||||
<text x="424" y="112">│</text>
|
||||
<text x="440" y="112" style="fill: #555555">.</text>
|
||||
<text x="448" y="112" style="fill: #555555">.</text>
|
||||
<text x="456" y="112" style="fill: #555555">.</text>
|
||||
<text x="464" y="112" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="112">│</text>
|
||||
<text x="584" y="112" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="112" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="112" style="fill: #5555ff">y</text>
|
||||
<text x="624" y="112" style="fill: #5555ff">_</text>
|
||||
<text x="632" y="112" style="fill: #5555ff">c</text>
|
||||
<text x="640" y="112" style="fill: #5555ff">o</text>
|
||||
<text x="648" y="112" style="fill: #5555ff">u</text>
|
||||
<text x="656" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="664" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="112">:</text>
|
||||
<text x="688" y="112" style="fill: #00bbbb">1</text>
|
||||
<text x="0" y="128" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="128" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="128" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="128" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="128" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="128">│</text>
|
||||
<text x="168" y="128" style="fill: #555555">0</text>
|
||||
<text x="176" y="128" style="fill: #555555">0</text>
|
||||
<text x="192" y="128" style="fill: #555555">0</text>
|
||||
<text x="200" y="128" style="fill: #555555">0</text>
|
||||
<text x="216" y="128" style="fill: #555555">0</text>
|
||||
<text x="224" y="128" style="fill: #555555">0</text>
|
||||
<text x="240" y="128">2</text>
|
||||
<text x="248" y="128">8</text>
|
||||
<text x="264" y="128" style="fill: #555555">0</text>
|
||||
<text x="272" y="128" style="fill: #555555">0</text>
|
||||
<text x="288" y="128" style="fill: #555555">0</text>
|
||||
<text x="296" y="128" style="fill: #555555">0</text>
|
||||
<text x="312" y="128" style="fill: #555555">0</text>
|
||||
<text x="320" y="128" style="fill: #555555">0</text>
|
||||
<text x="336" y="128" style="fill: #555555">0</text>
|
||||
<text x="344" y="128" style="fill: #555555">0</text>
|
||||
<text x="360" y="128" style="fill: #555555">0</text>
|
||||
<text x="368" y="128" style="fill: #555555">0</text>
|
||||
<text x="384" y="128" style="fill: #ffffff">0</text>
|
||||
<text x="392" y="128" style="fill: #ffffff">1</text>
|
||||
<text x="408" y="128" style="fill: #555555">0</text>
|
||||
<text x="416" y="128" style="fill: #555555">0</text>
|
||||
<text x="424" y="128">│</text>
|
||||
<text x="472" y="128" style="fill: #555555">.</text>
|
||||
<text x="480" y="128" style="fill: #555555">.</text>
|
||||
<text x="488" y="128" style="fill: #555555">.</text>
|
||||
<text x="496" y="128">(</text>
|
||||
<text x="504" y="128" style="fill: #555555">.</text>
|
||||
<text x="512" y="128" style="fill: #555555">.</text>
|
||||
<text x="520" y="128" style="fill: #555555">.</text>
|
||||
<text x="528" y="128" style="fill: #555555">.</text>
|
||||
<text x="536" y="128" style="fill: #555555">.</text>
|
||||
<text x="544" y="128" style="fill: #ffffff">.</text>
|
||||
<text x="552" y="128" style="fill: #555555">.</text>
|
||||
<text x="560" y="128">│</text>
|
||||
<text x="584" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="128" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="128" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="128" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="128" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="128" style="fill: #5555ff">s</text>
|
||||
<text x="640" y="128">[</text>
|
||||
<text x="648" y="128" style="fill: #00bbbb">0</text>
|
||||
<text x="656" y="128">:</text>
|
||||
<text x="664" y="128" style="fill: #00bbbb">1</text>
|
||||
<text x="672" y="128">]</text>
|
||||
<text x="680" y="128">:</text>
|
||||
<text x="0" y="144" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="144" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="144" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="144" style="fill: #bbbb00">8</text>
|
||||
<text x="32" y="144" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="144">│</text>
|
||||
<text x="48" y="144" style="fill: #555555">0</text>
|
||||
<text x="56" y="144" style="fill: #555555">0</text>
|
||||
<text x="424" y="144">│</text>
|
||||
<text x="432" y="144" style="fill: #555555">.</text>
|
||||
<text x="560" y="144">│</text>
|
||||
</svg>
|
After Width: | Height: | Size: 19 KiB |
10
doc/display_decode_value_d.sh
Executable file
10
doc/display_decode_value_d.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
FQ="$1"
|
||||
|
||||
s() {
|
||||
echo "\$ $1"
|
||||
sh -c "${1/fq/$FQ -o unicode=true -C}"
|
||||
}
|
||||
|
||||
s "fq 'first(grep_by(.type == \"elst\")) | d' file.mp4"
|
453
doc/display_decode_value_d.svg
Normal file
453
doc/display_decode_value_d.svg
Normal file
@ -0,0 +1,453 @@
|
||||
<svg viewBox="0 0 880 224" width="880" height="224" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<style>
|
||||
rect { shape-rendering: crispEdges; }
|
||||
text {
|
||||
dominant-baseline: text-before-edge;
|
||||
white-space: pre;
|
||||
font: 14px monospace;
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.u { text-decoration: underline; }
|
||||
</style>
|
||||
<rect width="100%" height="100%" x="0" y="0" style="fill: #000000"/>
|
||||
<text x="0" y="0">$</text>
|
||||
<text x="16" y="0">f</text>
|
||||
<text x="24" y="0">q</text>
|
||||
<text x="40" y="0">'</text>
|
||||
<text x="48" y="0">f</text>
|
||||
<text x="56" y="0">i</text>
|
||||
<text x="64" y="0">r</text>
|
||||
<text x="72" y="0">s</text>
|
||||
<text x="80" y="0">t</text>
|
||||
<text x="88" y="0">(</text>
|
||||
<text x="96" y="0">g</text>
|
||||
<text x="104" y="0">r</text>
|
||||
<text x="112" y="0">e</text>
|
||||
<text x="120" y="0">p</text>
|
||||
<text x="128" y="0">_</text>
|
||||
<text x="136" y="0">b</text>
|
||||
<text x="144" y="0">y</text>
|
||||
<text x="152" y="0">(</text>
|
||||
<text x="160" y="0">.</text>
|
||||
<text x="168" y="0">t</text>
|
||||
<text x="176" y="0">y</text>
|
||||
<text x="184" y="0">p</text>
|
||||
<text x="192" y="0">e</text>
|
||||
<text x="208" y="0">=</text>
|
||||
<text x="216" y="0">=</text>
|
||||
<text x="232" y="0">"</text>
|
||||
<text x="240" y="0">e</text>
|
||||
<text x="248" y="0">l</text>
|
||||
<text x="256" y="0">s</text>
|
||||
<text x="264" y="0">t</text>
|
||||
<text x="272" y="0">"</text>
|
||||
<text x="280" y="0">)</text>
|
||||
<text x="288" y="0">)</text>
|
||||
<text x="304" y="0">|</text>
|
||||
<text x="320" y="0">d</text>
|
||||
<text x="328" y="0">'</text>
|
||||
<text x="344" y="0">f</text>
|
||||
<text x="352" y="0">i</text>
|
||||
<text x="360" y="0">l</text>
|
||||
<text x="368" y="0">e</text>
|
||||
<text x="376" y="0">.</text>
|
||||
<text x="384" y="0">m</text>
|
||||
<text x="392" y="0">p</text>
|
||||
<text x="400" y="0">4</text>
|
||||
<text x="40" y="16">│</text>
|
||||
<text x="48" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="16">│</text>
|
||||
<text x="432" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="440" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="448" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="456" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="464" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="472" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="480" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="488" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="496" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="504" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="512" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="520" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="528" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="536" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="544" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="552" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="560" y="16">│</text>
|
||||
<text x="568" y="16">.</text>
|
||||
<text x="576" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="584" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="592" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="600" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="608" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="16">[</text>
|
||||
<text x="624" y="16" style="fill: #00bbbb">3</text>
|
||||
<text x="632" y="16">]</text>
|
||||
<text x="640" y="16">.</text>
|
||||
<text x="648" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="656" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="664" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="672" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="680" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="688" y="16">[</text>
|
||||
<text x="696" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="704" y="16">]</text>
|
||||
<text x="712" y="16">.</text>
|
||||
<text x="720" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="728" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="736" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="744" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="752" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="760" y="16">[</text>
|
||||
<text x="768" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="776" y="16">]</text>
|
||||
<text x="784" y="16">.</text>
|
||||
<text x="792" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="800" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="808" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="816" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="824" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="832" y="16">[</text>
|
||||
<text x="840" y="16" style="fill: #00bbbb">0</text>
|
||||
<text x="848" y="16">]</text>
|
||||
<text x="856" y="16">{</text>
|
||||
<text x="864" y="16">}</text>
|
||||
<text x="872" y="16">:</text>
|
||||
<text x="0" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="32" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="32" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="32" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="32">│</text>
|
||||
<text x="168" y="32" style="fill: #555555">0</text>
|
||||
<text x="176" y="32" style="fill: #555555">0</text>
|
||||
<text x="192" y="32" style="fill: #555555">0</text>
|
||||
<text x="200" y="32" style="fill: #555555">0</text>
|
||||
<text x="216" y="32" style="fill: #555555">0</text>
|
||||
<text x="224" y="32" style="fill: #555555">0</text>
|
||||
<text x="240" y="32" style="fill: #ffffff">1</text>
|
||||
<text x="248" y="32" style="fill: #ffffff">c</text>
|
||||
<text x="424" y="32">│</text>
|
||||
<text x="472" y="32" style="fill: #555555">.</text>
|
||||
<text x="480" y="32" style="fill: #555555">.</text>
|
||||
<text x="488" y="32" style="fill: #555555">.</text>
|
||||
<text x="496" y="32" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="32">│</text>
|
||||
<text x="584" y="32" style="fill: #5555ff">s</text>
|
||||
<text x="592" y="32" style="fill: #5555ff">i</text>
|
||||
<text x="600" y="32" style="fill: #5555ff">z</text>
|
||||
<text x="608" y="32" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="32">:</text>
|
||||
<text x="632" y="32" style="fill: #00bbbb">2</text>
|
||||
<text x="640" y="32" style="fill: #00bbbb">8</text>
|
||||
<text x="0" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="48" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="48" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="48" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="48">│</text>
|
||||
<text x="264" y="48">6</text>
|
||||
<text x="272" y="48">5</text>
|
||||
<text x="288" y="48">6</text>
|
||||
<text x="296" y="48">c</text>
|
||||
<text x="312" y="48">7</text>
|
||||
<text x="320" y="48">3</text>
|
||||
<text x="336" y="48">7</text>
|
||||
<text x="344" y="48">4</text>
|
||||
<text x="424" y="48">│</text>
|
||||
<text x="504" y="48">e</text>
|
||||
<text x="512" y="48">l</text>
|
||||
<text x="520" y="48">s</text>
|
||||
<text x="528" y="48">t</text>
|
||||
<text x="560" y="48">│</text>
|
||||
<text x="584" y="48" style="fill: #5555ff">t</text>
|
||||
<text x="592" y="48" style="fill: #5555ff">y</text>
|
||||
<text x="600" y="48" style="fill: #5555ff">p</text>
|
||||
<text x="608" y="48" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="48">:</text>
|
||||
<text x="632" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="640" y="48" style="fill: #00bb00">e</text>
|
||||
<text x="648" y="48" style="fill: #00bb00">l</text>
|
||||
<text x="656" y="48" style="fill: #00bb00">s</text>
|
||||
<text x="664" y="48" style="fill: #00bb00">t</text>
|
||||
<text x="672" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="688" y="48">(</text>
|
||||
<text x="696" y="48">A</text>
|
||||
<text x="704" y="48">n</text>
|
||||
<text x="720" y="48">e</text>
|
||||
<text x="728" y="48">d</text>
|
||||
<text x="736" y="48">i</text>
|
||||
<text x="744" y="48">t</text>
|
||||
<text x="760" y="48">l</text>
|
||||
<text x="768" y="48">i</text>
|
||||
<text x="776" y="48">s</text>
|
||||
<text x="784" y="48">t</text>
|
||||
<text x="792" y="48">)</text>
|
||||
<text x="0" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="64" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="64" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="64" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="64">│</text>
|
||||
<text x="360" y="64" style="fill: #555555">0</text>
|
||||
<text x="368" y="64" style="fill: #555555">0</text>
|
||||
<text x="424" y="64">│</text>
|
||||
<text x="536" y="64" style="fill: #555555">.</text>
|
||||
<text x="560" y="64">│</text>
|
||||
<text x="584" y="64" style="fill: #5555ff">v</text>
|
||||
<text x="592" y="64" style="fill: #5555ff">e</text>
|
||||
<text x="600" y="64" style="fill: #5555ff">r</text>
|
||||
<text x="608" y="64" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="64" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="64" style="fill: #5555ff">o</text>
|
||||
<text x="632" y="64" style="fill: #5555ff">n</text>
|
||||
<text x="640" y="64">:</text>
|
||||
<text x="656" y="64" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="80" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="80" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="80" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="80">│</text>
|
||||
<text x="384" y="80" style="fill: #555555">0</text>
|
||||
<text x="392" y="80" style="fill: #555555">0</text>
|
||||
<text x="408" y="80" style="fill: #555555">0</text>
|
||||
<text x="416" y="80" style="fill: #555555">0</text>
|
||||
<text x="424" y="80">│</text>
|
||||
<text x="544" y="80" style="fill: #555555">.</text>
|
||||
<text x="552" y="80" style="fill: #555555">.</text>
|
||||
<text x="560" y="80">│</text>
|
||||
<text x="584" y="80" style="fill: #5555ff">f</text>
|
||||
<text x="592" y="80" style="fill: #5555ff">l</text>
|
||||
<text x="600" y="80" style="fill: #5555ff">a</text>
|
||||
<text x="608" y="80" style="fill: #5555ff">g</text>
|
||||
<text x="616" y="80" style="fill: #5555ff">s</text>
|
||||
<text x="624" y="80">:</text>
|
||||
<text x="640" y="80" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="96" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="96" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="96" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="96">│</text>
|
||||
<text x="48" y="96" style="fill: #555555">0</text>
|
||||
<text x="56" y="96" style="fill: #555555">0</text>
|
||||
<text x="424" y="96">│</text>
|
||||
<text x="432" y="96" style="fill: #555555">.</text>
|
||||
<text x="560" y="96">│</text>
|
||||
<text x="0" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="112" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="112" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="112" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="112">│</text>
|
||||
<text x="72" y="112" style="fill: #555555">0</text>
|
||||
<text x="80" y="112" style="fill: #555555">0</text>
|
||||
<text x="96" y="112" style="fill: #555555">0</text>
|
||||
<text x="104" y="112" style="fill: #555555">0</text>
|
||||
<text x="120" y="112" style="fill: #555555">0</text>
|
||||
<text x="128" y="112" style="fill: #555555">0</text>
|
||||
<text x="144" y="112" style="fill: #ffffff">0</text>
|
||||
<text x="152" y="112" style="fill: #ffffff">1</text>
|
||||
<text x="424" y="112">│</text>
|
||||
<text x="440" y="112" style="fill: #555555">.</text>
|
||||
<text x="448" y="112" style="fill: #555555">.</text>
|
||||
<text x="456" y="112" style="fill: #555555">.</text>
|
||||
<text x="464" y="112" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="112">│</text>
|
||||
<text x="584" y="112" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="112" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="112" style="fill: #5555ff">y</text>
|
||||
<text x="624" y="112" style="fill: #5555ff">_</text>
|
||||
<text x="632" y="112" style="fill: #5555ff">c</text>
|
||||
<text x="640" y="112" style="fill: #5555ff">o</text>
|
||||
<text x="648" y="112" style="fill: #5555ff">u</text>
|
||||
<text x="656" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="664" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="112">:</text>
|
||||
<text x="688" y="112" style="fill: #00bbbb">1</text>
|
||||
<text x="40" y="128">│</text>
|
||||
<text x="424" y="128">│</text>
|
||||
<text x="560" y="128">│</text>
|
||||
<text x="584" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="128" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="128" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="128" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="128" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="128" style="fill: #5555ff">s</text>
|
||||
<text x="640" y="128">[</text>
|
||||
<text x="648" y="128" style="fill: #00bbbb">0</text>
|
||||
<text x="656" y="128">:</text>
|
||||
<text x="664" y="128" style="fill: #00bbbb">1</text>
|
||||
<text x="672" y="128">]</text>
|
||||
<text x="680" y="128">:</text>
|
||||
<text x="40" y="144">│</text>
|
||||
<text x="424" y="144">│</text>
|
||||
<text x="560" y="144">│</text>
|
||||
<text x="600" y="144">[</text>
|
||||
<text x="608" y="144" style="fill: #00bbbb">0</text>
|
||||
<text x="616" y="144">]</text>
|
||||
<text x="624" y="144">{</text>
|
||||
<text x="632" y="144">}</text>
|
||||
<text x="640" y="144">:</text>
|
||||
<text x="0" y="160" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="160" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="160" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="160" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="160" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="160">│</text>
|
||||
<text x="168" y="160" style="fill: #555555">0</text>
|
||||
<text x="176" y="160" style="fill: #555555">0</text>
|
||||
<text x="192" y="160" style="fill: #555555">0</text>
|
||||
<text x="200" y="160" style="fill: #555555">0</text>
|
||||
<text x="216" y="160" style="fill: #555555">0</text>
|
||||
<text x="224" y="160" style="fill: #555555">0</text>
|
||||
<text x="240" y="160">2</text>
|
||||
<text x="248" y="160">8</text>
|
||||
<text x="424" y="160">│</text>
|
||||
<text x="472" y="160" style="fill: #555555">.</text>
|
||||
<text x="480" y="160" style="fill: #555555">.</text>
|
||||
<text x="488" y="160" style="fill: #555555">.</text>
|
||||
<text x="496" y="160">(</text>
|
||||
<text x="560" y="160">│</text>
|
||||
<text x="616" y="160" style="fill: #5555ff">s</text>
|
||||
<text x="624" y="160" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="160" style="fill: #5555ff">g</text>
|
||||
<text x="640" y="160" style="fill: #5555ff">m</text>
|
||||
<text x="648" y="160" style="fill: #5555ff">e</text>
|
||||
<text x="656" y="160" style="fill: #5555ff">n</text>
|
||||
<text x="664" y="160" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="160" style="fill: #5555ff">_</text>
|
||||
<text x="680" y="160" style="fill: #5555ff">d</text>
|
||||
<text x="688" y="160" style="fill: #5555ff">u</text>
|
||||
<text x="696" y="160" style="fill: #5555ff">r</text>
|
||||
<text x="704" y="160" style="fill: #5555ff">a</text>
|
||||
<text x="712" y="160" style="fill: #5555ff">t</text>
|
||||
<text x="720" y="160" style="fill: #5555ff">i</text>
|
||||
<text x="728" y="160" style="fill: #5555ff">o</text>
|
||||
<text x="736" y="160" style="fill: #5555ff">n</text>
|
||||
<text x="744" y="160">:</text>
|
||||
<text x="760" y="160" style="fill: #00bbbb">4</text>
|
||||
<text x="768" y="160" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="176" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="176" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="176" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="176" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="176" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="176">│</text>
|
||||
<text x="264" y="176" style="fill: #555555">0</text>
|
||||
<text x="272" y="176" style="fill: #555555">0</text>
|
||||
<text x="288" y="176" style="fill: #555555">0</text>
|
||||
<text x="296" y="176" style="fill: #555555">0</text>
|
||||
<text x="312" y="176" style="fill: #555555">0</text>
|
||||
<text x="320" y="176" style="fill: #555555">0</text>
|
||||
<text x="336" y="176" style="fill: #555555">0</text>
|
||||
<text x="344" y="176" style="fill: #555555">0</text>
|
||||
<text x="424" y="176">│</text>
|
||||
<text x="504" y="176" style="fill: #555555">.</text>
|
||||
<text x="512" y="176" style="fill: #555555">.</text>
|
||||
<text x="520" y="176" style="fill: #555555">.</text>
|
||||
<text x="528" y="176" style="fill: #555555">.</text>
|
||||
<text x="560" y="176">│</text>
|
||||
<text x="616" y="176" style="fill: #5555ff">m</text>
|
||||
<text x="624" y="176" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="176" style="fill: #5555ff">d</text>
|
||||
<text x="640" y="176" style="fill: #5555ff">i</text>
|
||||
<text x="648" y="176" style="fill: #5555ff">a</text>
|
||||
<text x="656" y="176" style="fill: #5555ff">_</text>
|
||||
<text x="664" y="176" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="176" style="fill: #5555ff">i</text>
|
||||
<text x="680" y="176" style="fill: #5555ff">m</text>
|
||||
<text x="688" y="176" style="fill: #5555ff">e</text>
|
||||
<text x="696" y="176">:</text>
|
||||
<text x="712" y="176" style="fill: #00bbbb">0</text>
|
||||
<text x="0" y="192" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="192" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="192" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="192" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="192" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="192">│</text>
|
||||
<text x="360" y="192" style="fill: #555555">0</text>
|
||||
<text x="368" y="192" style="fill: #555555">0</text>
|
||||
<text x="384" y="192" style="fill: #ffffff">0</text>
|
||||
<text x="392" y="192" style="fill: #ffffff">1</text>
|
||||
<text x="408" y="192" style="fill: #555555">0</text>
|
||||
<text x="416" y="192" style="fill: #555555">0</text>
|
||||
<text x="424" y="192">│</text>
|
||||
<text x="536" y="192" style="fill: #555555">.</text>
|
||||
<text x="544" y="192" style="fill: #ffffff">.</text>
|
||||
<text x="552" y="192" style="fill: #555555">.</text>
|
||||
<text x="560" y="192">│</text>
|
||||
<text x="616" y="192" style="fill: #5555ff">m</text>
|
||||
<text x="624" y="192" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="192" style="fill: #5555ff">d</text>
|
||||
<text x="640" y="192" style="fill: #5555ff">i</text>
|
||||
<text x="648" y="192" style="fill: #5555ff">a</text>
|
||||
<text x="656" y="192" style="fill: #5555ff">_</text>
|
||||
<text x="664" y="192" style="fill: #5555ff">r</text>
|
||||
<text x="672" y="192" style="fill: #5555ff">a</text>
|
||||
<text x="680" y="192" style="fill: #5555ff">t</text>
|
||||
<text x="688" y="192" style="fill: #5555ff">e</text>
|
||||
<text x="696" y="192">:</text>
|
||||
<text x="712" y="192" style="fill: #00bbbb">1</text>
|
||||
<text x="0" y="208" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="208" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="208" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="208" style="fill: #bbbb00">8</text>
|
||||
<text x="32" y="208" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="208">│</text>
|
||||
<text x="48" y="208" style="fill: #555555">0</text>
|
||||
<text x="56" y="208" style="fill: #555555">0</text>
|
||||
<text x="424" y="208">│</text>
|
||||
<text x="432" y="208" style="fill: #555555">.</text>
|
||||
<text x="560" y="208">│</text>
|
||||
</svg>
|
After Width: | Height: | Size: 22 KiB |
10
doc/display_decode_value_dv.sh
Executable file
10
doc/display_decode_value_dv.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
FQ="$1"
|
||||
|
||||
s() {
|
||||
echo "\$ $1"
|
||||
sh -c "${1/fq/$FQ -o unicode=true -C}"
|
||||
}
|
||||
|
||||
s "fq 'first(grep_by(.type == \"elst\")) | dv' file.mp4"
|
641
doc/display_decode_value_dv.svg
Normal file
641
doc/display_decode_value_dv.svg
Normal file
@ -0,0 +1,641 @@
|
||||
<svg viewBox="0 0 1064 224" width="1064" height="224" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<style>
|
||||
rect { shape-rendering: crispEdges; }
|
||||
text {
|
||||
dominant-baseline: text-before-edge;
|
||||
white-space: pre;
|
||||
font: 14px monospace;
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.u { text-decoration: underline; }
|
||||
</style>
|
||||
<rect width="100%" height="100%" x="0" y="0" style="fill: #000000"/>
|
||||
<text x="0" y="0">$</text>
|
||||
<text x="16" y="0">f</text>
|
||||
<text x="24" y="0">q</text>
|
||||
<text x="40" y="0">'</text>
|
||||
<text x="48" y="0">f</text>
|
||||
<text x="56" y="0">i</text>
|
||||
<text x="64" y="0">r</text>
|
||||
<text x="72" y="0">s</text>
|
||||
<text x="80" y="0">t</text>
|
||||
<text x="88" y="0">(</text>
|
||||
<text x="96" y="0">g</text>
|
||||
<text x="104" y="0">r</text>
|
||||
<text x="112" y="0">e</text>
|
||||
<text x="120" y="0">p</text>
|
||||
<text x="128" y="0">_</text>
|
||||
<text x="136" y="0">b</text>
|
||||
<text x="144" y="0">y</text>
|
||||
<text x="152" y="0">(</text>
|
||||
<text x="160" y="0">.</text>
|
||||
<text x="168" y="0">t</text>
|
||||
<text x="176" y="0">y</text>
|
||||
<text x="184" y="0">p</text>
|
||||
<text x="192" y="0">e</text>
|
||||
<text x="208" y="0">=</text>
|
||||
<text x="216" y="0">=</text>
|
||||
<text x="232" y="0">"</text>
|
||||
<text x="240" y="0">e</text>
|
||||
<text x="248" y="0">l</text>
|
||||
<text x="256" y="0">s</text>
|
||||
<text x="264" y="0">t</text>
|
||||
<text x="272" y="0">"</text>
|
||||
<text x="280" y="0">)</text>
|
||||
<text x="288" y="0">)</text>
|
||||
<text x="304" y="0">|</text>
|
||||
<text x="320" y="0">d</text>
|
||||
<text x="328" y="0">v</text>
|
||||
<text x="336" y="0">'</text>
|
||||
<text x="352" y="0">f</text>
|
||||
<text x="360" y="0">i</text>
|
||||
<text x="368" y="0">l</text>
|
||||
<text x="376" y="0">e</text>
|
||||
<text x="384" y="0">.</text>
|
||||
<text x="392" y="0">m</text>
|
||||
<text x="400" y="0">p</text>
|
||||
<text x="408" y="0">4</text>
|
||||
<text x="40" y="16">│</text>
|
||||
<text x="48" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="16" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="16">│</text>
|
||||
<text x="432" y="16" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="440" y="16" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="448" y="16" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="456" y="16" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="464" y="16" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="472" y="16" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="480" y="16" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="488" y="16" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="496" y="16" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="504" y="16" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="512" y="16" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="520" y="16" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="528" y="16" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="536" y="16" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="544" y="16" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="552" y="16" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="560" y="16">│</text>
|
||||
<text x="568" y="16">.</text>
|
||||
<text x="576" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="584" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="592" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="600" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="608" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="16">[</text>
|
||||
<text x="624" y="16" style="fill: #00bbbb">3</text>
|
||||
<text x="632" y="16">]</text>
|
||||
<text x="640" y="16">.</text>
|
||||
<text x="648" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="656" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="664" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="672" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="680" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="688" y="16">[</text>
|
||||
<text x="696" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="704" y="16">]</text>
|
||||
<text x="712" y="16">.</text>
|
||||
<text x="720" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="728" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="736" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="744" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="752" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="760" y="16">[</text>
|
||||
<text x="768" y="16" style="fill: #00bbbb">1</text>
|
||||
<text x="776" y="16">]</text>
|
||||
<text x="784" y="16">.</text>
|
||||
<text x="792" y="16" style="fill: #5555ff">b</text>
|
||||
<text x="800" y="16" style="fill: #5555ff">o</text>
|
||||
<text x="808" y="16" style="fill: #5555ff">x</text>
|
||||
<text x="816" y="16" style="fill: #5555ff">e</text>
|
||||
<text x="824" y="16" style="fill: #5555ff">s</text>
|
||||
<text x="832" y="16">[</text>
|
||||
<text x="840" y="16" style="fill: #00bbbb">0</text>
|
||||
<text x="848" y="16">]</text>
|
||||
<text x="856" y="16">{</text>
|
||||
<text x="864" y="16">}</text>
|
||||
<text x="872" y="16">:</text>
|
||||
<text x="888" y="16">b</text>
|
||||
<text x="896" y="16">o</text>
|
||||
<text x="904" y="16">x</text>
|
||||
<text x="920" y="16">0</text>
|
||||
<text x="928" y="16">x</text>
|
||||
<text x="936" y="16">d</text>
|
||||
<text x="944" y="16">6</text>
|
||||
<text x="952" y="16">5</text>
|
||||
<text x="960" y="16">-</text>
|
||||
<text x="968" y="16">0</text>
|
||||
<text x="976" y="16">x</text>
|
||||
<text x="984" y="16">d</text>
|
||||
<text x="992" y="16">8</text>
|
||||
<text x="1000" y="16">0</text>
|
||||
<text x="1008" y="16">.</text>
|
||||
<text x="1016" y="16">7</text>
|
||||
<text x="1032" y="16">(</text>
|
||||
<text x="1040" y="16">2</text>
|
||||
<text x="1048" y="16">8</text>
|
||||
<text x="1056" y="16">)</text>
|
||||
<text x="0" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="32" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="32" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="32" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="32" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="32">│</text>
|
||||
<text x="168" y="32" style="fill: #555555">0</text>
|
||||
<text x="176" y="32" style="fill: #555555">0</text>
|
||||
<text x="192" y="32" style="fill: #555555">0</text>
|
||||
<text x="200" y="32" style="fill: #555555">0</text>
|
||||
<text x="216" y="32" style="fill: #555555">0</text>
|
||||
<text x="224" y="32" style="fill: #555555">0</text>
|
||||
<text x="240" y="32" style="fill: #ffffff">1</text>
|
||||
<text x="248" y="32" style="fill: #ffffff">c</text>
|
||||
<text x="424" y="32">│</text>
|
||||
<text x="472" y="32" style="fill: #555555">.</text>
|
||||
<text x="480" y="32" style="fill: #555555">.</text>
|
||||
<text x="488" y="32" style="fill: #555555">.</text>
|
||||
<text x="496" y="32" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="32">│</text>
|
||||
<text x="584" y="32" style="fill: #5555ff">s</text>
|
||||
<text x="592" y="32" style="fill: #5555ff">i</text>
|
||||
<text x="600" y="32" style="fill: #5555ff">z</text>
|
||||
<text x="608" y="32" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="32">:</text>
|
||||
<text x="632" y="32" style="fill: #00bbbb">2</text>
|
||||
<text x="640" y="32" style="fill: #00bbbb">8</text>
|
||||
<text x="656" y="32">0</text>
|
||||
<text x="664" y="32">x</text>
|
||||
<text x="672" y="32">d</text>
|
||||
<text x="680" y="32">6</text>
|
||||
<text x="688" y="32">5</text>
|
||||
<text x="696" y="32">-</text>
|
||||
<text x="704" y="32">0</text>
|
||||
<text x="712" y="32">x</text>
|
||||
<text x="720" y="32">d</text>
|
||||
<text x="728" y="32">6</text>
|
||||
<text x="736" y="32">8</text>
|
||||
<text x="744" y="32">.</text>
|
||||
<text x="752" y="32">7</text>
|
||||
<text x="768" y="32">(</text>
|
||||
<text x="776" y="32">4</text>
|
||||
<text x="784" y="32">)</text>
|
||||
<text x="0" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="48" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="48" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="48" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="48" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="48">│</text>
|
||||
<text x="264" y="48">6</text>
|
||||
<text x="272" y="48">5</text>
|
||||
<text x="288" y="48">6</text>
|
||||
<text x="296" y="48">c</text>
|
||||
<text x="312" y="48">7</text>
|
||||
<text x="320" y="48">3</text>
|
||||
<text x="336" y="48">7</text>
|
||||
<text x="344" y="48">4</text>
|
||||
<text x="424" y="48">│</text>
|
||||
<text x="504" y="48">e</text>
|
||||
<text x="512" y="48">l</text>
|
||||
<text x="520" y="48">s</text>
|
||||
<text x="528" y="48">t</text>
|
||||
<text x="560" y="48">│</text>
|
||||
<text x="584" y="48" style="fill: #5555ff">t</text>
|
||||
<text x="592" y="48" style="fill: #5555ff">y</text>
|
||||
<text x="600" y="48" style="fill: #5555ff">p</text>
|
||||
<text x="608" y="48" style="fill: #5555ff">e</text>
|
||||
<text x="616" y="48">:</text>
|
||||
<text x="632" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="640" y="48" style="fill: #00bb00">e</text>
|
||||
<text x="648" y="48" style="fill: #00bb00">l</text>
|
||||
<text x="656" y="48" style="fill: #00bb00">s</text>
|
||||
<text x="664" y="48" style="fill: #00bb00">t</text>
|
||||
<text x="672" y="48" style="fill: #00bb00">"</text>
|
||||
<text x="688" y="48">(</text>
|
||||
<text x="696" y="48">A</text>
|
||||
<text x="704" y="48">n</text>
|
||||
<text x="720" y="48">e</text>
|
||||
<text x="728" y="48">d</text>
|
||||
<text x="736" y="48">i</text>
|
||||
<text x="744" y="48">t</text>
|
||||
<text x="760" y="48">l</text>
|
||||
<text x="768" y="48">i</text>
|
||||
<text x="776" y="48">s</text>
|
||||
<text x="784" y="48">t</text>
|
||||
<text x="792" y="48">)</text>
|
||||
<text x="808" y="48">0</text>
|
||||
<text x="816" y="48">x</text>
|
||||
<text x="824" y="48">d</text>
|
||||
<text x="832" y="48">6</text>
|
||||
<text x="840" y="48">9</text>
|
||||
<text x="848" y="48">-</text>
|
||||
<text x="856" y="48">0</text>
|
||||
<text x="864" y="48">x</text>
|
||||
<text x="872" y="48">d</text>
|
||||
<text x="880" y="48">6</text>
|
||||
<text x="888" y="48">c</text>
|
||||
<text x="896" y="48">.</text>
|
||||
<text x="904" y="48">7</text>
|
||||
<text x="920" y="48">(</text>
|
||||
<text x="928" y="48">4</text>
|
||||
<text x="936" y="48">)</text>
|
||||
<text x="0" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="64" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="64" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="64" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="64" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="64">│</text>
|
||||
<text x="360" y="64" style="fill: #555555">0</text>
|
||||
<text x="368" y="64" style="fill: #555555">0</text>
|
||||
<text x="424" y="64">│</text>
|
||||
<text x="536" y="64" style="fill: #555555">.</text>
|
||||
<text x="560" y="64">│</text>
|
||||
<text x="584" y="64" style="fill: #5555ff">v</text>
|
||||
<text x="592" y="64" style="fill: #5555ff">e</text>
|
||||
<text x="600" y="64" style="fill: #5555ff">r</text>
|
||||
<text x="608" y="64" style="fill: #5555ff">s</text>
|
||||
<text x="616" y="64" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="64" style="fill: #5555ff">o</text>
|
||||
<text x="632" y="64" style="fill: #5555ff">n</text>
|
||||
<text x="640" y="64">:</text>
|
||||
<text x="656" y="64" style="fill: #00bbbb">0</text>
|
||||
<text x="672" y="64">0</text>
|
||||
<text x="680" y="64">x</text>
|
||||
<text x="688" y="64">d</text>
|
||||
<text x="696" y="64">6</text>
|
||||
<text x="704" y="64">d</text>
|
||||
<text x="712" y="64">-</text>
|
||||
<text x="720" y="64">0</text>
|
||||
<text x="728" y="64">x</text>
|
||||
<text x="736" y="64">d</text>
|
||||
<text x="744" y="64">6</text>
|
||||
<text x="752" y="64">d</text>
|
||||
<text x="760" y="64">.</text>
|
||||
<text x="768" y="64">7</text>
|
||||
<text x="784" y="64">(</text>
|
||||
<text x="792" y="64">1</text>
|
||||
<text x="800" y="64">)</text>
|
||||
<text x="0" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="80" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="80" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="80" style="fill: #bbbb00">6</text>
|
||||
<text x="32" y="80" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="80">│</text>
|
||||
<text x="384" y="80" style="fill: #555555">0</text>
|
||||
<text x="392" y="80" style="fill: #555555">0</text>
|
||||
<text x="408" y="80" style="fill: #555555">0</text>
|
||||
<text x="416" y="80" style="fill: #555555">0</text>
|
||||
<text x="424" y="80">│</text>
|
||||
<text x="544" y="80" style="fill: #555555">.</text>
|
||||
<text x="552" y="80" style="fill: #555555">.</text>
|
||||
<text x="560" y="80">│</text>
|
||||
<text x="584" y="80" style="fill: #5555ff">f</text>
|
||||
<text x="592" y="80" style="fill: #5555ff">l</text>
|
||||
<text x="600" y="80" style="fill: #5555ff">a</text>
|
||||
<text x="608" y="80" style="fill: #5555ff">g</text>
|
||||
<text x="616" y="80" style="fill: #5555ff">s</text>
|
||||
<text x="624" y="80">:</text>
|
||||
<text x="640" y="80" style="fill: #00bbbb">0</text>
|
||||
<text x="656" y="80">0</text>
|
||||
<text x="664" y="80">x</text>
|
||||
<text x="672" y="80">d</text>
|
||||
<text x="680" y="80">6</text>
|
||||
<text x="688" y="80">e</text>
|
||||
<text x="696" y="80">-</text>
|
||||
<text x="704" y="80">0</text>
|
||||
<text x="712" y="80">x</text>
|
||||
<text x="720" y="80">d</text>
|
||||
<text x="728" y="80">7</text>
|
||||
<text x="736" y="80">0</text>
|
||||
<text x="744" y="80">.</text>
|
||||
<text x="752" y="80">7</text>
|
||||
<text x="768" y="80">(</text>
|
||||
<text x="776" y="80">3</text>
|
||||
<text x="784" y="80">)</text>
|
||||
<text x="0" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="96" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="96" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="96" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="96" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="96">│</text>
|
||||
<text x="48" y="96" style="fill: #555555">0</text>
|
||||
<text x="56" y="96" style="fill: #555555">0</text>
|
||||
<text x="424" y="96">│</text>
|
||||
<text x="432" y="96" style="fill: #555555">.</text>
|
||||
<text x="560" y="96">│</text>
|
||||
<text x="0" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="112" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="112" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="112" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="112" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="112">│</text>
|
||||
<text x="72" y="112" style="fill: #555555">0</text>
|
||||
<text x="80" y="112" style="fill: #555555">0</text>
|
||||
<text x="96" y="112" style="fill: #555555">0</text>
|
||||
<text x="104" y="112" style="fill: #555555">0</text>
|
||||
<text x="120" y="112" style="fill: #555555">0</text>
|
||||
<text x="128" y="112" style="fill: #555555">0</text>
|
||||
<text x="144" y="112" style="fill: #ffffff">0</text>
|
||||
<text x="152" y="112" style="fill: #ffffff">1</text>
|
||||
<text x="424" y="112">│</text>
|
||||
<text x="440" y="112" style="fill: #555555">.</text>
|
||||
<text x="448" y="112" style="fill: #555555">.</text>
|
||||
<text x="456" y="112" style="fill: #555555">.</text>
|
||||
<text x="464" y="112" style="fill: #ffffff">.</text>
|
||||
<text x="560" y="112">│</text>
|
||||
<text x="584" y="112" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="112" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="112" style="fill: #5555ff">y</text>
|
||||
<text x="624" y="112" style="fill: #5555ff">_</text>
|
||||
<text x="632" y="112" style="fill: #5555ff">c</text>
|
||||
<text x="640" y="112" style="fill: #5555ff">o</text>
|
||||
<text x="648" y="112" style="fill: #5555ff">u</text>
|
||||
<text x="656" y="112" style="fill: #5555ff">n</text>
|
||||
<text x="664" y="112" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="112">:</text>
|
||||
<text x="688" y="112" style="fill: #00bbbb">1</text>
|
||||
<text x="704" y="112">0</text>
|
||||
<text x="712" y="112">x</text>
|
||||
<text x="720" y="112">d</text>
|
||||
<text x="728" y="112">7</text>
|
||||
<text x="736" y="112">1</text>
|
||||
<text x="744" y="112">-</text>
|
||||
<text x="752" y="112">0</text>
|
||||
<text x="760" y="112">x</text>
|
||||
<text x="768" y="112">d</text>
|
||||
<text x="776" y="112">7</text>
|
||||
<text x="784" y="112">4</text>
|
||||
<text x="792" y="112">.</text>
|
||||
<text x="800" y="112">7</text>
|
||||
<text x="816" y="112">(</text>
|
||||
<text x="824" y="112">4</text>
|
||||
<text x="832" y="112">)</text>
|
||||
<text x="40" y="128">│</text>
|
||||
<text x="424" y="128">│</text>
|
||||
<text x="560" y="128">│</text>
|
||||
<text x="584" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="592" y="128" style="fill: #5555ff">n</text>
|
||||
<text x="600" y="128" style="fill: #5555ff">t</text>
|
||||
<text x="608" y="128" style="fill: #5555ff">r</text>
|
||||
<text x="616" y="128" style="fill: #5555ff">i</text>
|
||||
<text x="624" y="128" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="128" style="fill: #5555ff">s</text>
|
||||
<text x="640" y="128">[</text>
|
||||
<text x="648" y="128" style="fill: #00bbbb">0</text>
|
||||
<text x="656" y="128">:</text>
|
||||
<text x="664" y="128" style="fill: #00bbbb">1</text>
|
||||
<text x="672" y="128">]</text>
|
||||
<text x="680" y="128">:</text>
|
||||
<text x="696" y="128">0</text>
|
||||
<text x="704" y="128">x</text>
|
||||
<text x="712" y="128">d</text>
|
||||
<text x="720" y="128">7</text>
|
||||
<text x="728" y="128">5</text>
|
||||
<text x="736" y="128">-</text>
|
||||
<text x="744" y="128">0</text>
|
||||
<text x="752" y="128">x</text>
|
||||
<text x="760" y="128">d</text>
|
||||
<text x="768" y="128">8</text>
|
||||
<text x="776" y="128">0</text>
|
||||
<text x="784" y="128">.</text>
|
||||
<text x="792" y="128">7</text>
|
||||
<text x="808" y="128">(</text>
|
||||
<text x="816" y="128">1</text>
|
||||
<text x="824" y="128">2</text>
|
||||
<text x="832" y="128">)</text>
|
||||
<text x="40" y="144">│</text>
|
||||
<text x="424" y="144">│</text>
|
||||
<text x="560" y="144">│</text>
|
||||
<text x="600" y="144">[</text>
|
||||
<text x="608" y="144" style="fill: #00bbbb">0</text>
|
||||
<text x="616" y="144">]</text>
|
||||
<text x="624" y="144">{</text>
|
||||
<text x="632" y="144">}</text>
|
||||
<text x="640" y="144">:</text>
|
||||
<text x="656" y="144">e</text>
|
||||
<text x="664" y="144">n</text>
|
||||
<text x="672" y="144">t</text>
|
||||
<text x="680" y="144">r</text>
|
||||
<text x="688" y="144">y</text>
|
||||
<text x="704" y="144">0</text>
|
||||
<text x="712" y="144">x</text>
|
||||
<text x="720" y="144">d</text>
|
||||
<text x="728" y="144">7</text>
|
||||
<text x="736" y="144">5</text>
|
||||
<text x="744" y="144">-</text>
|
||||
<text x="752" y="144">0</text>
|
||||
<text x="760" y="144">x</text>
|
||||
<text x="768" y="144">d</text>
|
||||
<text x="776" y="144">8</text>
|
||||
<text x="784" y="144">0</text>
|
||||
<text x="792" y="144">.</text>
|
||||
<text x="800" y="144">7</text>
|
||||
<text x="816" y="144">(</text>
|
||||
<text x="824" y="144">1</text>
|
||||
<text x="832" y="144">2</text>
|
||||
<text x="840" y="144">)</text>
|
||||
<text x="0" y="160" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="160" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="160" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="160" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="160" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="160">│</text>
|
||||
<text x="168" y="160" style="fill: #555555">0</text>
|
||||
<text x="176" y="160" style="fill: #555555">0</text>
|
||||
<text x="192" y="160" style="fill: #555555">0</text>
|
||||
<text x="200" y="160" style="fill: #555555">0</text>
|
||||
<text x="216" y="160" style="fill: #555555">0</text>
|
||||
<text x="224" y="160" style="fill: #555555">0</text>
|
||||
<text x="240" y="160">2</text>
|
||||
<text x="248" y="160">8</text>
|
||||
<text x="424" y="160">│</text>
|
||||
<text x="472" y="160" style="fill: #555555">.</text>
|
||||
<text x="480" y="160" style="fill: #555555">.</text>
|
||||
<text x="488" y="160" style="fill: #555555">.</text>
|
||||
<text x="496" y="160">(</text>
|
||||
<text x="560" y="160">│</text>
|
||||
<text x="616" y="160" style="fill: #5555ff">s</text>
|
||||
<text x="624" y="160" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="160" style="fill: #5555ff">g</text>
|
||||
<text x="640" y="160" style="fill: #5555ff">m</text>
|
||||
<text x="648" y="160" style="fill: #5555ff">e</text>
|
||||
<text x="656" y="160" style="fill: #5555ff">n</text>
|
||||
<text x="664" y="160" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="160" style="fill: #5555ff">_</text>
|
||||
<text x="680" y="160" style="fill: #5555ff">d</text>
|
||||
<text x="688" y="160" style="fill: #5555ff">u</text>
|
||||
<text x="696" y="160" style="fill: #5555ff">r</text>
|
||||
<text x="704" y="160" style="fill: #5555ff">a</text>
|
||||
<text x="712" y="160" style="fill: #5555ff">t</text>
|
||||
<text x="720" y="160" style="fill: #5555ff">i</text>
|
||||
<text x="728" y="160" style="fill: #5555ff">o</text>
|
||||
<text x="736" y="160" style="fill: #5555ff">n</text>
|
||||
<text x="744" y="160">:</text>
|
||||
<text x="760" y="160" style="fill: #00bbbb">4</text>
|
||||
<text x="768" y="160" style="fill: #00bbbb">0</text>
|
||||
<text x="784" y="160">0</text>
|
||||
<text x="792" y="160">x</text>
|
||||
<text x="800" y="160">d</text>
|
||||
<text x="808" y="160">7</text>
|
||||
<text x="816" y="160">5</text>
|
||||
<text x="824" y="160">-</text>
|
||||
<text x="832" y="160">0</text>
|
||||
<text x="840" y="160">x</text>
|
||||
<text x="848" y="160">d</text>
|
||||
<text x="856" y="160">7</text>
|
||||
<text x="864" y="160">8</text>
|
||||
<text x="872" y="160">.</text>
|
||||
<text x="880" y="160">7</text>
|
||||
<text x="896" y="160">(</text>
|
||||
<text x="904" y="160">4</text>
|
||||
<text x="912" y="160">)</text>
|
||||
<text x="0" y="176" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="176" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="176" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="176" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="176" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="176">│</text>
|
||||
<text x="264" y="176" style="fill: #555555">0</text>
|
||||
<text x="272" y="176" style="fill: #555555">0</text>
|
||||
<text x="288" y="176" style="fill: #555555">0</text>
|
||||
<text x="296" y="176" style="fill: #555555">0</text>
|
||||
<text x="312" y="176" style="fill: #555555">0</text>
|
||||
<text x="320" y="176" style="fill: #555555">0</text>
|
||||
<text x="336" y="176" style="fill: #555555">0</text>
|
||||
<text x="344" y="176" style="fill: #555555">0</text>
|
||||
<text x="424" y="176">│</text>
|
||||
<text x="504" y="176" style="fill: #555555">.</text>
|
||||
<text x="512" y="176" style="fill: #555555">.</text>
|
||||
<text x="520" y="176" style="fill: #555555">.</text>
|
||||
<text x="528" y="176" style="fill: #555555">.</text>
|
||||
<text x="560" y="176">│</text>
|
||||
<text x="616" y="176" style="fill: #5555ff">m</text>
|
||||
<text x="624" y="176" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="176" style="fill: #5555ff">d</text>
|
||||
<text x="640" y="176" style="fill: #5555ff">i</text>
|
||||
<text x="648" y="176" style="fill: #5555ff">a</text>
|
||||
<text x="656" y="176" style="fill: #5555ff">_</text>
|
||||
<text x="664" y="176" style="fill: #5555ff">t</text>
|
||||
<text x="672" y="176" style="fill: #5555ff">i</text>
|
||||
<text x="680" y="176" style="fill: #5555ff">m</text>
|
||||
<text x="688" y="176" style="fill: #5555ff">e</text>
|
||||
<text x="696" y="176">:</text>
|
||||
<text x="712" y="176" style="fill: #00bbbb">0</text>
|
||||
<text x="728" y="176">0</text>
|
||||
<text x="736" y="176">x</text>
|
||||
<text x="744" y="176">d</text>
|
||||
<text x="752" y="176">7</text>
|
||||
<text x="760" y="176">9</text>
|
||||
<text x="768" y="176">-</text>
|
||||
<text x="776" y="176">0</text>
|
||||
<text x="784" y="176">x</text>
|
||||
<text x="792" y="176">d</text>
|
||||
<text x="800" y="176">7</text>
|
||||
<text x="808" y="176">c</text>
|
||||
<text x="816" y="176">.</text>
|
||||
<text x="824" y="176">7</text>
|
||||
<text x="840" y="176">(</text>
|
||||
<text x="848" y="176">4</text>
|
||||
<text x="856" y="176">)</text>
|
||||
<text x="0" y="192" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="192" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="192" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="192" style="fill: #bbbb00">7</text>
|
||||
<text x="32" y="192" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="192">│</text>
|
||||
<text x="360" y="192" style="fill: #555555">0</text>
|
||||
<text x="368" y="192" style="fill: #555555">0</text>
|
||||
<text x="384" y="192" style="fill: #ffffff">0</text>
|
||||
<text x="392" y="192" style="fill: #ffffff">1</text>
|
||||
<text x="408" y="192" style="fill: #555555">0</text>
|
||||
<text x="416" y="192" style="fill: #555555">0</text>
|
||||
<text x="424" y="192">│</text>
|
||||
<text x="536" y="192" style="fill: #555555">.</text>
|
||||
<text x="544" y="192" style="fill: #ffffff">.</text>
|
||||
<text x="552" y="192" style="fill: #555555">.</text>
|
||||
<text x="560" y="192">│</text>
|
||||
<text x="616" y="192" style="fill: #5555ff">m</text>
|
||||
<text x="624" y="192" style="fill: #5555ff">e</text>
|
||||
<text x="632" y="192" style="fill: #5555ff">d</text>
|
||||
<text x="640" y="192" style="fill: #5555ff">i</text>
|
||||
<text x="648" y="192" style="fill: #5555ff">a</text>
|
||||
<text x="656" y="192" style="fill: #5555ff">_</text>
|
||||
<text x="664" y="192" style="fill: #5555ff">r</text>
|
||||
<text x="672" y="192" style="fill: #5555ff">a</text>
|
||||
<text x="680" y="192" style="fill: #5555ff">t</text>
|
||||
<text x="688" y="192" style="fill: #5555ff">e</text>
|
||||
<text x="696" y="192">:</text>
|
||||
<text x="712" y="192" style="fill: #00bbbb">1</text>
|
||||
<text x="728" y="192">0</text>
|
||||
<text x="736" y="192">x</text>
|
||||
<text x="744" y="192">d</text>
|
||||
<text x="752" y="192">7</text>
|
||||
<text x="760" y="192">d</text>
|
||||
<text x="768" y="192">-</text>
|
||||
<text x="776" y="192">0</text>
|
||||
<text x="784" y="192">x</text>
|
||||
<text x="792" y="192">d</text>
|
||||
<text x="800" y="192">8</text>
|
||||
<text x="808" y="192">0</text>
|
||||
<text x="816" y="192">.</text>
|
||||
<text x="824" y="192">7</text>
|
||||
<text x="840" y="192">(</text>
|
||||
<text x="848" y="192">4</text>
|
||||
<text x="856" y="192">)</text>
|
||||
<text x="0" y="208" style="fill: #bbbb00">0</text>
|
||||
<text x="8" y="208" style="fill: #bbbb00">x</text>
|
||||
<text x="16" y="208" style="fill: #bbbb00">d</text>
|
||||
<text x="24" y="208" style="fill: #bbbb00">8</text>
|
||||
<text x="32" y="208" style="fill: #bbbb00">0</text>
|
||||
<text x="40" y="208">│</text>
|
||||
<text x="48" y="208" style="fill: #555555">0</text>
|
||||
<text x="56" y="208" style="fill: #555555">0</text>
|
||||
<text x="424" y="208">│</text>
|
||||
<text x="432" y="208" style="fill: #555555">.</text>
|
||||
<text x="560" y="208">│</text>
|
||||
</svg>
|
After Width: | Height: | Size: 29 KiB |
12
doc/display_json.sh
Executable file
12
doc/display_json.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
FQ="$1"
|
||||
|
||||
s() {
|
||||
echo "\$ $1"
|
||||
sh -c "${1/fq/$FQ -o unicode=true -C}"
|
||||
}
|
||||
|
||||
s "fq -n '\"hello\"'"
|
||||
echo
|
||||
s "fq -n '\"hello\" | d'"
|
57
doc/display_json.svg
Normal file
57
doc/display_json.svg
Normal file
@ -0,0 +1,57 @@
|
||||
<svg viewBox="0 0 168 80" width="168" height="80" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<style>
|
||||
rect { shape-rendering: crispEdges; }
|
||||
text {
|
||||
dominant-baseline: text-before-edge;
|
||||
white-space: pre;
|
||||
font: 14px monospace;
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.u { text-decoration: underline; }
|
||||
</style>
|
||||
<rect width="100%" height="100%" x="0" y="0" style="fill: #000000"/>
|
||||
<text x="0" y="0">$</text>
|
||||
<text x="16" y="0">f</text>
|
||||
<text x="24" y="0">q</text>
|
||||
<text x="40" y="0">-</text>
|
||||
<text x="48" y="0">n</text>
|
||||
<text x="64" y="0">'</text>
|
||||
<text x="72" y="0">"</text>
|
||||
<text x="80" y="0">h</text>
|
||||
<text x="88" y="0">e</text>
|
||||
<text x="96" y="0">l</text>
|
||||
<text x="104" y="0">l</text>
|
||||
<text x="112" y="0">o</text>
|
||||
<text x="120" y="0">"</text>
|
||||
<text x="128" y="0">'</text>
|
||||
<text x="0" y="16" style="fill: #00bb00">"</text>
|
||||
<text x="8" y="16" style="fill: #00bb00">h</text>
|
||||
<text x="16" y="16" style="fill: #00bb00">e</text>
|
||||
<text x="24" y="16" style="fill: #00bb00">l</text>
|
||||
<text x="32" y="16" style="fill: #00bb00">l</text>
|
||||
<text x="40" y="16" style="fill: #00bb00">o</text>
|
||||
<text x="48" y="16" style="fill: #00bb00">"</text>
|
||||
<text x="0" y="48">$</text>
|
||||
<text x="16" y="48">f</text>
|
||||
<text x="24" y="48">q</text>
|
||||
<text x="40" y="48">-</text>
|
||||
<text x="48" y="48">n</text>
|
||||
<text x="64" y="48">'</text>
|
||||
<text x="72" y="48">"</text>
|
||||
<text x="80" y="48">h</text>
|
||||
<text x="88" y="48">e</text>
|
||||
<text x="96" y="48">l</text>
|
||||
<text x="104" y="48">l</text>
|
||||
<text x="112" y="48">o</text>
|
||||
<text x="120" y="48">"</text>
|
||||
<text x="136" y="48">|</text>
|
||||
<text x="152" y="48">d</text>
|
||||
<text x="160" y="48">'</text>
|
||||
<text x="0" y="64" style="fill: #00bb00">"</text>
|
||||
<text x="8" y="64" style="fill: #00bb00">h</text>
|
||||
<text x="16" y="64" style="fill: #00bb00">e</text>
|
||||
<text x="24" y="64" style="fill: #00bb00">l</text>
|
||||
<text x="32" y="64" style="fill: #00bb00">l</text>
|
||||
<text x="40" y="64" style="fill: #00bb00">o</text>
|
||||
<text x="48" y="64" style="fill: #00bb00">"</text>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
118
doc/usage.md
118
doc/usage.md
@ -11,7 +11,7 @@ fq . *.png *.mp3
|
||||
fq '.frames[0]' *.mp3
|
||||
```
|
||||
|
||||
Common usages:
|
||||
### Common usages
|
||||
|
||||
```sh
|
||||
# recursively display decode tree but truncate long arrays
|
||||
@ -32,7 +32,7 @@ fq full file
|
||||
# recursively and verbosely display decode tree
|
||||
fq v file
|
||||
# same as
|
||||
fq verbose file
|
||||
fq dv file
|
||||
|
||||
# JSON repersenation for whole file
|
||||
fq tovalue file
|
||||
@ -56,6 +56,53 @@ fq 'grep(123)' file
|
||||
fq 'grep_by(. >= 100 and . =< 100)' file
|
||||
```
|
||||
|
||||
### Display output
|
||||
|
||||
`display` or `d` is the main function for displying values and is also the function that will be used if no other output function is explicitly used. If its input is a decode value it will output a dump and tree structure or otherwise it will output as JSON.
|
||||
|
||||
Below demonstrates some usages:
|
||||
|
||||
First and second example does the same thing, inputs `"hello"` to `display`.
|
||||
|
||||
![fq demo](display_json.svg)
|
||||
|
||||
In the next few examples we select out the first "edit list" box in an mp4 file, it's a list of which part of media track to be included during playback, and displays it in various ways.
|
||||
|
||||
Default if not explicitly used `display` will only show the root level:
|
||||
|
||||
![fq demo](display_decode_value.svg)
|
||||
|
||||
First row shows ruler with byte offset into the line and JSON path for the value.
|
||||
|
||||
The columns are:
|
||||
- Start address for the line. For example we see that `type` starts at `0xd60`+`0x09`.
|
||||
- Hex repersenation of input bits for value. Will show the whole byte even if the value only partially uses bits from it.
|
||||
- ASCII representation of input bits for value. Will show the whole byte even if the value only partially uses bits from it.
|
||||
- Tree structure of decoded value, symbolic value and description.
|
||||
|
||||
Notation:
|
||||
- `{}` value is an object that might have nested values.
|
||||
- `[start:end]` value is an array with index starting at `start` and ending at `end` (exclusive).
|
||||
|
||||
|
||||
With `display` or `d` it will recursively show the whole tree:
|
||||
|
||||
![fq demo](display_decode_value_d.svg)
|
||||
|
||||
Same but verbose `dv`:
|
||||
|
||||
![fq demo](display_decode_value_dv.svg)
|
||||
|
||||
In verbose mode bit ranges and array element names as shown.
|
||||
|
||||
Bit range uses `bytes.bits` notation. For example `type` start at byte `0xd69` bit `0` (left out if zero) and ends at `0xd6c` bit `7` (inclusive) and have byte size of `4`.
|
||||
|
||||
There are also some other `display` aliases:
|
||||
- `da` same as `display({array_truncate: 0})` which will not truncate long arrays.
|
||||
- `dd` same as `display({array_truncate: 0, display_bytes: 0})` which will not truncate long ranges.
|
||||
- `dv` same as `display({array_truncate: 0, verbose: true})`
|
||||
- `ddv` same as `display({array_truncate: 0, display_bytes: 0 verbose: true})` which will not truncate long and also display verbosely.
|
||||
|
||||
## Interactive REPL
|
||||
|
||||
The interactive [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop)
|
||||
@ -201,21 +248,25 @@ See [formats](formats.md)
|
||||
## The jq language
|
||||
|
||||
fq is based on the [jq language](https://stedolan.github.io/jq/) and for basic usage its syntax
|
||||
is similar to how object and array access looks in JavaScript or JSON path, `.food[10]` etc.
|
||||
is similar to how object and array access looks in JavaScript or JSON path, `.food[10]` etc. but
|
||||
it can do much more and is a very expressive language.
|
||||
|
||||
To get the most out of fq it's recommended to learn more about jq, here are some good starting points:
|
||||
|
||||
- [jq manual](https://stedolan.github.io/jq/manual/)
|
||||
- jq wiki pages
|
||||
[jq Language Description](https://github.com/stedolan/jq/wiki/jq-Language-Description),
|
||||
[jq wiki page Cookbook](https://github.com/stedolan/jq/wiki/Cookbook),
|
||||
[FAQ](https://github.com/stedolan/jq/wiki/FAQ) and
|
||||
[Pitfalls](https://github.com/stedolan/jq/wiki/How-to:-Avoid-Pitfalls)
|
||||
- [Peter Koppstein's A Stream oriented Introduction to jq](https://github.com/pkoppstein/jq/wiki/A-Stream-oriented-Introduction-to-jq)
|
||||
- [jq wiki: Language Description](https://github.com/stedolan/jq/wiki/jq-Language-Description)
|
||||
- [jq wiki: page Cookbook](https://github.com/stedolan/jq/wiki/Cookbook)
|
||||
- [jq wiki: Pitfalls](https://github.com/stedolan/jq/wiki/How-to:-Avoid-Pitfalls)
|
||||
- [FAQ](https://github.com/stedolan/jq/wiki/FAQ)
|
||||
|
||||
The most common beginner gotcha is probably jq's use of `;` and `,`. jq uses `;` as argument separator
|
||||
and `,` as output separator.
|
||||
To call a function `f` with two arguments use `f(1; 2)`. If you do `f(1, 2)` you pass a single
|
||||
argument `1, 2` (a lambda expression that output `1` and then output `2`) to `f`.
|
||||
Common beginner gotcha are:
|
||||
- jq's use of `;` and `,`. jq uses `;` as argument separator
|
||||
and `,` as output separator. To call a function `f` with two arguments use `f(1; 2)`. If you do `f(1, 2)` you pass a
|
||||
single argument `1, 2` (a lambda expression that output `1` and then output `2`) to `f`.
|
||||
- Expressions can return or "output" zero or more values. This is how loops, foreach etc is
|
||||
achieved.
|
||||
- Expressions have one implicit input and output value. This how pipelines like `1 | . * 2` work.
|
||||
|
||||
## Functions
|
||||
|
||||
@ -288,49 +339,6 @@ you currently have to do `fq -d raw 'mp3({force: true})' file`.
|
||||
- `hd`/`hexdump` hexdump value
|
||||
- `repl` nested REPL, must be last in a pipeline. `1 | repl`, can "slurp" outputs `1, 2, 3 | repl`.
|
||||
|
||||
## Arguments
|
||||
|
||||
TODO: examples, stdin/stdout
|
||||
|
||||
<pre sh>
|
||||
$ fq -h
|
||||
fq - jq for binary formats
|
||||
Tool, language and decoders for inspecting binary data.
|
||||
For more information see https://github.com/wader/fq
|
||||
|
||||
Usage: fq [OPTIONS] [--] [EXPR] [FILE...]
|
||||
|
||||
Example usages:
|
||||
fq . file
|
||||
fq d file
|
||||
fq tovalue file
|
||||
cat file.cbor | fq -d cbor torepr
|
||||
fq 'grep("^main$") | parent' /bin/ls
|
||||
fq 'grep_by(format == "exif") | d' *.png *.jpeg
|
||||
|
||||
--arg NAME VALUE Set variable $NAME to string VALUE
|
||||
--argjson NAME JSON Set variable $NAME to JSON
|
||||
--color-output,-C Force color output
|
||||
--compact-output,-c Compact output
|
||||
--decode,-d NAME Decode format (probe)
|
||||
--decode-file NAME PATH Set variable $NAME to decode of file
|
||||
--formats Show supported formats
|
||||
--from-file,-f PATH Read EXPR from file
|
||||
--help,-h Show help
|
||||
--include-path,-L PATH Include search path
|
||||
--join-output,-j No newline between outputs
|
||||
--monochrome-output,-M Force monochrome output
|
||||
--null-input,-n Null input (use input and inputs functions to read input)
|
||||
--null-output,-0 Null byte between outputs
|
||||
--option,-o KEY=VALUE Set option, eg: color=true (use options function to see all options)
|
||||
--raw-file NAME PATH Set variable $NAME to string content of file
|
||||
--raw-input,-R Read raw input strings (don't decode)
|
||||
--raw-output,-r Raw string output (without quotes)
|
||||
--repl,-i Interactive REPL
|
||||
--slurp,-s Read (slurp) all inputs into an array
|
||||
--version,-v Show version
|
||||
</pre>
|
||||
|
||||
## Color and unicode output
|
||||
|
||||
fq by default tries to use colors if possible, this can be disabled with `-M`. You can also
|
||||
|
Loading…
Reference in New Issue
Block a user