This commit is contained in:
2022-07-19 16:52:28 -04:00
parent 1ba5208e58
commit 9a95b64618
4 changed files with 129 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
.TH PSCAT 1
.SH NAME
pscat \- concatenate the output of processes
.SH SYNOPSIS
pscat
"["
.RB [ utility
.RB [ argument... ]]
"]" ...
.SH DESCRIPTION
Pscat executes multiple commands, one after the other.
This allows multiple processes to be piped as one to another program.
.SH DIAGNOSTICS
Pscat will print an error message and exit with the appropriate status from sysexits(3) if executed improperly.
Pscat will exit with the sum of the child processes' exit statuses if run correctly.
.SH BUGS
Pscat's exit status isn't useful when run correctly; there's no way to tell which process failed if one did.
This issue of ergonomics isn't obviously mendable as processes' standard outputs and standard errors are meant to both be conveyed.
If either could be ignored the individual exit statuses could simply be printed.
.SH COPYRIGHT
Public domain.