Fix more typos in rw(1).

This commit is contained in:
Jonas 'Sortie' Termansen 2018-04-15 17:54:19 +02:00
parent 3261f766b6
commit 02d9d888f1
1 changed files with 9 additions and 10 deletions

19
rw/rw.1
View File

@ -13,15 +13,15 @@
.Op Fl i Ar input-file .Op Fl i Ar input-file
.Op Fl O Ar output-offset .Op Fl O Ar output-offset
.Op Fl o Ar output-file .Op Fl o Ar output-file
.Op Fl p Ar interval .Op Fl p Ar period
.Op Fl r Ar input-block-size .Op Fl r Ar input-block-size
.Op Fl w Ar output-block-size .Op Fl w Ar output-block-size
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
reads blocks from the standard input and copies them to the standard output reads blocks from the standard input and copies them to the standard output
until the end of the standard input. until the end of the standard input.
The input block size and output block sizes default to appropriate values for The input and output block sizes default to appropriate values for efficiently
efficiently reading from the input and writing to the output. reading from the input and writing to the output.
Input and output will be done as aligned as possible on the block size Input and output will be done as aligned as possible on the block size
boundaries. boundaries.
The final input block can be partial. The final input block can be partial.
@ -136,7 +136,7 @@ bytes are read and discarded before the copying begins.
If the If the
.Ar offset .Ar offset
is not a multiple of the input block size, the first input block is reduced in is not a multiple of the input block size, the first input block is reduced in
size such that it ends at a input-block-size-aligned position in the input. size such that it ends at an input-block-size-aligned position in the input.
.It Fl i Ar input-file .It Fl i Ar input-file
Read the input from Read the input from
.Ar input-file .Ar input-file
@ -180,15 +180,14 @@ Pad the final output block with NUL bytes, such that the final output offset
(counting the initial offset with (counting the initial offset with
.Fl O ) .Fl O )
is a multiple of the output block size. is a multiple of the output block size.
.It Fl p Ar interval .It Fl p Ar period
Write occasional statistics to the standard error during the transfer and on Write occasional statistics to the standard error during the transfer and on
completion, or when being terminated by completion, or when being terminated by
.Dv SIGINT . .Dv SIGINT .
.Ar interval .Ar period
is a non-negative integer of how long the interval is in whole seconds between specifies the period in whole seconds at which statistics are written out.
statistics being written.
Statistics are written for every read and write if the Statistics are written for every read and write if the
.Ar interval .Ar period
is zero. is zero.
The format is described in the The format is described in the
.Sx DIAGNOSTICS .Sx DIAGNOSTICS
@ -374,7 +373,7 @@ is how many percent complete the copy is, or
.Sq "?" .Sq "?"
if not known. if not known.
.Ar speed .Ar speed
the average speed of copying so far in bytes per second, or is the average speed of copying so far in bytes per second, or
.Sq "?" .Sq "?"
if it is too early to tell. if it is too early to tell.
.Ar time-left .Ar time-left