1
0
Fork 0
src/psroute/psroute.1

45 lines
921 B
Groff

.TH PSROUTE 1
.SH NAME
psroute \(en pipe standard output and standard error, independently
.SH SYNOPSIS
psroute
"["
.RB [ command
.RB ( argument... )]
"]"
"["
.RB [ command
.RB ( argument... )]
"]"
"["
.RB [ command
.RB ( argument... )]
"]"
.SH DESCRIPTION
Psroute runs the first given command, piping its standard output to the
standard input of the second given command, and piping the first command's
standard error to the standard input of the third given command.
.PP
Psroute's standard input is piped to the first given command. The second and
third commands' standard output and error stream out of psroute normally.
.SH DIAGNOSTICS
Psroute will print an error message and exit with the appropriate status from
sysexits(3) in the event of improper invocation or operating system error.
Psroute will exit with the status of the first given command.
.SH BUGS
See psrelay(1).
.SH COPYRIGHT
Public domain.