cli: Rename --null/nul-output to --raw-output0
Remove -0 short arg, now it means the expression "-0". This is to be in sync with jq 1.7 https://github.com/jqlang/jq/pull/2684 Correct and clarify that NUL and new lines are outputted after and not between each output. Still missing is to abort on output containing zero when using --raw-output0
120
doc/demo.svg
@ -43,49 +43,49 @@
|
||||
<text x="40" y="32">│</text>
|
||||
<text x="48" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="64" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="32" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="88" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="32" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="112" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="32" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="136" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="32" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="160" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="32" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="184" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="32" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="208" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="32" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="232" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="32" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="256" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="32" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="280" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="32" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="304" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="32" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="328" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="32" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="352" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="32" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="376" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="32" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="400" y="32" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="32" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="32" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="32">│</text>
|
||||
@ -444,49 +444,49 @@
|
||||
<text x="24" y="192">│</text>
|
||||
<text x="32" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="40" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="48" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="48" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="56" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="192" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="72" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="80" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="88" y="192" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="96" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="104" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="112" y="192" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="120" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="128" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="136" y="192" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="144" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="152" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="160" y="192" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="168" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="176" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="184" y="192" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="192" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="200" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="208" y="192" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="216" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="224" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="232" y="192" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="240" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="248" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="256" y="192" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="264" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="272" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="280" y="192" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="288" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="296" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="304" y="192" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="312" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="320" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="328" y="192" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="336" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="344" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="352" y="192" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="360" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="368" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="376" y="192" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="384" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="192" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="392" y="192" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="400" y="192" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="408" y="192">│</text>
|
||||
@ -834,49 +834,49 @@
|
||||
<text x="40" y="400">│</text>
|
||||
<text x="48" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="64" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="400" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="88" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="400" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="112" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="400" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="136" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="400" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="160" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="400" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="184" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="400" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="208" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="400" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="232" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="400" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="256" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="400" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="280" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="400" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="304" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="400" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="328" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="400" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="352" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="400" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="376" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="400" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="400" y="400" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="400" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="400" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="400">│</text>
|
||||
@ -935,49 +935,49 @@
|
||||
<text x="40" y="432">│</text>
|
||||
<text x="48" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="56" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="64" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="64" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="72" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="80" y="432" style="fill: #bbbb00" class="u">1</text>
|
||||
<text x="88" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="88" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="96" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="104" y="432" style="fill: #bbbb00" class="u">2</text>
|
||||
<text x="112" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="112" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="120" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="128" y="432" style="fill: #bbbb00" class="u">3</text>
|
||||
<text x="136" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="136" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="144" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="152" y="432" style="fill: #bbbb00" class="u">4</text>
|
||||
<text x="160" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="160" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="168" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="176" y="432" style="fill: #bbbb00" class="u">5</text>
|
||||
<text x="184" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="184" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="192" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="200" y="432" style="fill: #bbbb00" class="u">6</text>
|
||||
<text x="208" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="208" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="216" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="224" y="432" style="fill: #bbbb00" class="u">7</text>
|
||||
<text x="232" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="232" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="240" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="248" y="432" style="fill: #bbbb00" class="u">8</text>
|
||||
<text x="256" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="256" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="264" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="272" y="432" style="fill: #bbbb00" class="u">9</text>
|
||||
<text x="280" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="280" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="288" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="296" y="432" style="fill: #bbbb00" class="u">a</text>
|
||||
<text x="304" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="304" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="312" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="320" y="432" style="fill: #bbbb00" class="u">b</text>
|
||||
<text x="328" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="328" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="336" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="344" y="432" style="fill: #bbbb00" class="u">c</text>
|
||||
<text x="352" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="352" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="360" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="368" y="432" style="fill: #bbbb00" class="u">d</text>
|
||||
<text x="376" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="376" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="384" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="392" y="432" style="fill: #bbbb00" class="u">e</text>
|
||||
<text x="400" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="400" y="432" style="fill: #bbbb00" class="u"> </text>
|
||||
<text x="408" y="432" style="fill: #bbbb00" class="u">0</text>
|
||||
<text x="416" y="432" style="fill: #bbbb00" class="u">f</text>
|
||||
<text x="424" y="432">│</text>
|
||||
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
@ -55,49 +55,49 @@
|
||||
<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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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>
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@ -57,49 +57,49 @@
|
||||
<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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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>
|
||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -58,49 +58,49 @@
|
||||
<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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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>
|
||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
1756
doc/formats.svg
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 148 KiB |
@ -32,7 +32,8 @@ def _args_parse($args; $opts):
|
||||
else
|
||||
if $arg == "--" then
|
||||
$r | .rest += $args[1:]
|
||||
elif $arg | test("^--?[^-]") then
|
||||
# \d to not see -0, -123 etc as an argument
|
||||
elif $arg | test("^--?[^-\\d]") then
|
||||
( $flagmap[$arg] as $optname
|
||||
| ($opts[$optname]? // null) as $opt
|
||||
| if $opt == null then
|
||||
|
@ -430,7 +430,7 @@ def _opt_cli_opts:
|
||||
, join_output:
|
||||
{ short: "-j"
|
||||
, long: "--join-output"
|
||||
, description: "No newline between outputs"
|
||||
, description: "No newline after each output"
|
||||
, bool: true
|
||||
}
|
||||
, include_path:
|
||||
@ -440,11 +440,10 @@ def _opt_cli_opts:
|
||||
, array: "PATH"
|
||||
}
|
||||
, null_output:
|
||||
{ short: "-0"
|
||||
, long: "--null-output"
|
||||
{ long: "--raw-output0"
|
||||
# for jq compatibility
|
||||
, aliases: ["--nul-output"]
|
||||
, description: "Null byte between outputs"
|
||||
, description: "NUL (zero) byte after each output"
|
||||
, bool: true
|
||||
}
|
||||
, null_input:
|
||||
|
12
pkg/interp/testdata/args.fqtest
vendored
@ -33,14 +33,14 @@ Example usages:
|
||||
--from-file,-f PATH Read EXPR from file
|
||||
--help,-h [TOPIC] Show help for TOPIC (ex: -h formats, -h mp4)
|
||||
--include-path,-L PATH Include search path
|
||||
--join-output,-j No newline between outputs
|
||||
--join-output,-j No newline after each output
|
||||
--monochrome-output,-M Force monochrome output
|
||||
--null-input,-n Null input (use input and inputs functions to read)
|
||||
--null-output,-0 Null byte between outputs
|
||||
--option,-o KEY=VALUE/@PATH Set option (ex: -o color=true, see --help 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)
|
||||
--raw-output0 NUL (zero) byte after each output
|
||||
--repl,-i Interactive REPL
|
||||
--slurp,-s Slurp all inputs into an array or string (-Rs)
|
||||
--unicode-output,-U Force unicode output
|
||||
@ -118,3 +118,11 @@ $ fq -.
|
||||
exitcode: 2
|
||||
stderr:
|
||||
error: -.: no such argument
|
||||
$ fq -0
|
||||
0
|
||||
stdin:
|
||||
"abc"
|
||||
$ fq -123
|
||||
-123
|
||||
stdin:
|
||||
"abc"
|
||||
|