diff options
author | David Robillard <d@drobilla.net> | 2023-12-01 18:31:30 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098 (patch) | |
tree | 6db087ffdb3c76fac0492b771bc25aee6291a3e7 /doc/man/serd-pipe.1 | |
parent | ed12fd8066ed47c1ee675a69dfed21751313f197 (diff) | |
download | serd-94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098.tar.gz serd-94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098.tar.bz2 serd-94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098.zip |
[TESTED] Replace -b and -e options with a block size option
This is more powerful, and reduces the number of command line options that
almost nobody needs to care about.
Diffstat (limited to 'doc/man/serd-pipe.1')
-rw-r--r-- | doc/man/serd-pipe.1 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/man/serd-pipe.1 b/doc/man/serd-pipe.1 index b8d2fd23..9b700068 100644 --- a/doc/man/serd-pipe.1 +++ b/doc/man/serd-pipe.1 @@ -8,8 +8,9 @@ .Nd read and write RDF data .Sh SYNOPSIS .Nm serd-pipe -.Op Fl abefhlqtv +.Op Fl afhlqtv .Op Fl B Ar base +.Op Fl b Ar bytes .Op Fl c Ar prefix .Op Fl i Ar syntax .Op Fl k Ar bytes @@ -45,9 +46,11 @@ or to provide a base URI for input from stdin or a string. .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. -.It Fl b -Bulk output writing. -If this is enabled, output will be written a page at a time, rather than a byte at a time. +.It Fl b Ar bytes +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 |