1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 21:31:33 +03:00
fq/format/xml/testdata/seq.fqtest
Mattias Wadman e3ae1440c9 interp: Rename to/from<format> functions to to_/from_<format>
Feels less cluttered, easier to read and more consistent.

Still keep tovalue, tobytes etc that are more basic functions this
only renamed format related functions.
Also there is an exceptin for to/fromjson as it comes from jq.

Also fixes lots of spelling errors while reading thru.
2022-12-21 17:48:39 +01:00

3 lines
102 B
Plaintext

$ fq -n '{r: {c: {"#seq":1}, b: {"#seq":0}, a: {"#seq":-1}}} | to_xml'
"<r><a></a><b></b><c></c></r>"