mirror of
https://github.com/wader/fq.git
synced 2024-11-23 09:56:07 +03:00
Merge pull request #435 from wader/doc-fix-example-prompts
doc: Fix some incorrect example prompts
This commit is contained in:
commit
ac032faf3a
@ -694,7 +694,7 @@ Elements are arrays of the shape `["#text": "body text", "attr_name", {key: "att
|
||||
|
||||
```sh
|
||||
# decode as array
|
||||
✗ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
$ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
[
|
||||
"a",
|
||||
null,
|
||||
|
2
format/xml/testdata/help_xml.fqtest
vendored
2
format/xml/testdata/help_xml.fqtest
vendored
@ -78,7 +78,7 @@ Elements are arrays of the shape ["#text": "body text", "attr_name", {key: "attr
|
||||
|
||||
|
||||
# decode as array
|
||||
✗ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
$ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
[
|
||||
"a",
|
||||
null,
|
||||
|
@ -60,7 +60,7 @@ Elements are arrays of the shape `["#text": "body text", "attr_name", {key: "att
|
||||
|
||||
```sh
|
||||
# decode as array
|
||||
✗ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
$ echo '<a><b/><b>bbb</b><c attr="value">ccc</c></a>' | fq -d xml -o array=true
|
||||
[
|
||||
"a",
|
||||
null,
|
||||
|
Loading…
Reference in New Issue
Block a user