From 339f9d90d1fe001978d15e1c007a3861a7145453 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Dec 2023 15:53:25 -0500 Subject: [WIP] Add support for converting literals to canonical form --- doc/man/serd-pipe.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/man/serd-pipe.1 b/doc/man/serd-pipe.1 index 793737f9..d731f0b4 100644 --- a/doc/man/serd-pipe.1 +++ b/doc/man/serd-pipe.1 @@ -8,7 +8,7 @@ .Nd read and write RDF data .Sh SYNOPSIS .Nm serd-pipe -.Op Fl afhlqtvx +.Op Fl Cafhlqtvx .Op Fl B Ar base .Op Fl b Ar bytes .Op Fl c Ar prefix @@ -68,6 +68,18 @@ When the input is a file, the URI of the file is automatically used as the base URI. This option can be used to override that, or to provide a base URI for input from stdin or a string. +.It Fl C +Convert literals to canonical form. +Literals with supported XSD datatypes will be parsed and rewritten canonically. +Invalid literals will cause an error. +All numeric datatypes are supported, as well as +.Vt boolean , +.Vt duration , +.Vt datetime , +.Vt time , +.Vt hexBinary , +and +.Vt base64Binary . .It Fl a Write ASCII output. If this is enabled, all non-ASCII characters will be escaped, even if the output syntax allows them to be written in UTF-8. -- cgit v1.2.1