From 94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 1 Dec 2023 18:31:30 -0500 Subject: [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. --- doc/man/serd-pipe.1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'doc/man/serd-pipe.1') 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 -- cgit v1.2.1