aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-12 13:42:25 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit8346ac7f529f5aeb8d8b0e48837e680ea14e8893 (patch)
tree0e1aa8f67135af24cbbfe5a5911b1a74e5699df6 /doc
parent3ea3143632e3577ac5794faed1141e460a11a9fb (diff)
downloadserd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.gz
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.bz2
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.zip
Make blank node prefixing automatic
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/serd-pipe.133
1 files changed, 0 insertions, 33 deletions
diff --git a/doc/man/serd-pipe.1 b/doc/man/serd-pipe.1
index 056d236f..b1e01990 100644
--- a/doc/man/serd-pipe.1
+++ b/doc/man/serd-pipe.1
@@ -13,9 +13,7 @@
.Op Fl I Ar syntax
.Op Fl O Ar syntax
.Op Fl b Ar bytes
-.Op Fl c Ar prefix
.Op Fl k Ar bytes
-.Op Fl p Ar prefix
.Op Fl r Ar root
.Op Fl s Ar string
.Op Fl w Ar filename
@@ -162,23 +160,6 @@ I/O block size.
This is the number of bytes in a file that will be read or written at once.
The default is 4096, which should perform well in most cases.
Note that this only applies to files, standard input and output are always processed one byte at a time.
-.It Fl c Ar prefix
-Chop
-.Ar prefix
-from matching blank node IDs.
-This is typically used to revert the effects of
-.Fl p .
-For example, with
-.Ar prefix
-.Dq doc01 ,
-the blank node
-.Li _:doc01b42
-will be emitted as
-.Li _:b42 .
-.It Fl e
-Eat input one character at a time, rather than a page at a time which is the default.
-This is useful when reading from a pipe since output will be generated immediately as input arrives, rather than waiting until an entire page of input has arrived.
-With this option one less page of memory is used, but likely with a performance penalty.
.It Fl f
Fast and loose URI mode:
preserve full URIs (without qualifying or making relative),
@@ -191,20 +172,6 @@ Parsing is performed using a pre-allocated stack for performance and security re
By default, the stack is 1 MiB, which should be sufficient for most data.
This can be increased to support unusually structured data and huge literals,
or decreased to reduce overall memory requirements and reduce startup time.
-.It Fl p Ar prefix
-Add
-.Ar prefix
-to blank node IDs.
-This can be used to avoid clashes between blank node IDs in input documents.
-The effects can be reversed in a later run with
-.Fl c .
-For example, with
-.Ar prefix
-.Dq doc01 ,
-the blank node
-.Li _:b42
-will be emitted as
-.Li _:doc01b42 .
.It Fl q
Suppress all output except data.
.It Fl r Ar root