Skip to content

Commit ef6871b

Browse files
committed
Small man page corrections
1 parent 03ef066 commit ef6871b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

doc/man/peet.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Read from stdin (fd 0), and file descriptors 9 and 11 and write to stdout.
3838
.fi
3939
.P
4040
Using pipexec(1): start two commands, both write their log to stdout
41-
and use rotatelogs(1) to write the logs to disk: (The file descriptors
42-
8 and 11 are chosen by random.)
41+
and use one instance of rotatelogs(1) to write the logs to disk into a
42+
common log file: (The file descriptors 8 and 11 are chosen by random.)
4343
.nf
4444
pipexec [ CMD1 /usr/bin/cmd1 ] [ CMD2 /usr/bin/cmd2 ] \\
4545
[ PEET /usr/bin/peet 8 11 ] \\

doc/man/pipexec.1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ pipexec [OPTION]... [PROCESS DESCRIPTION]... [PIPE DESCRIPTION]...
1111
.SH DESCRIPTION
1212
.B pipexec
1313
creates an arbitrary network (directed graph) of processes and pipes
14-
in between. Even cycles are possible. It overcomes the shortcomings
14+
in between - even cycles are possible. It overcomes the shortcomings
1515
of shells that are typically only able to create non cyclic trees.
1616
.P
1717
.B pipexec
18-
also monitors all it's processes and is able to restart the whole
19-
network of processes and pipes if one process crashes. Therefore
18+
also monitors all it's child processes and is able to restart the
19+
whole network of processes and pipes if one crashes.
20+
Therefore
2021
.B pipexec
2122
can be used in SYSV-init or systemd configuration to run a network of
2223
processes.
@@ -26,15 +27,15 @@ processes.
2627
print help and version information
2728
.TP
2829
\fB\-l logfd\fR
29-
use the given log file descriptor for logging. If a 's' is specified,
30+
use the given file descriptor for logging. If a 's' is specified,
3031
syslog is used. Example: Specifying '2' means log to stderr.
3132
.TP
3233
\fB\-p pidfile\fR
3334
with
3435
.B pipexec
3536
it is possible to handle pipes within SYSV-init scripts. In some
3637
environments (e.g. RHEL6, Debian7) the start and stop routines need a
37-
pid file. If this option is given, pipexec writes it own pid into the
38+
pid file. If this option is given, pipexec writes its own pid into the
3839
file shortly after start of pipexec.
3940
.TP
4041
\fB\-k\fR
@@ -78,7 +79,7 @@ e.g. pass a fd of 'wc' either to 'grep' or to 'find'.
7879
overcomes these limitations. It makes it possible to link any two
7980
arbitrary file descriptors in a set of processes.
8081
.SH USAGE
81-
Building up a network of processes and pipes, there is the need to
82+
When building up a network of processes and pipes, there is the need to
8283
specify each element separately.
8384
.P
8485
The processes will be the nodes in the network (directed graph), the

0 commit comments

Comments
 (0)