.TH PSRELAY 1 .SH NAME psrelay \(en conditionally execute a process .SH SYNOPSIS psrelay "[" .RB [ command .RB ( argument... )] "]" "[" .RB [ command .RB ( argument... )] "]" .SH DESCRIPTION Psrelay runs the first given command and, if it exits successfully, runs the second given command, exiting with the status of the second command. .PP Standard input given to psrelay is not directed to the first given command, only to the second given command. .SH DIAGNOSTICS Psrelay will print an error message and exit with the appropriate status from sysexits(3) in the event of improper invocation or operating system error. Psrelay will exit with the status of the second given command if run without error. .SH BUGS Unintuitively, "psrelay [ wc -c