aboutsummaryrefslogblamecommitdiff
path: root/man/man1/oii.1df
blob: d232c03b3bb3920630fd0157b5984a760fe1d067 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                                                 












                                                                             
                                                                        

                               
.TH OII 1df "November 2017" "Manual page for oii"
.SH NAME
.B oii
\- run a command on input only if there's at least one byte of input
.SH USAGE
.B oii
CMD [ARGS ...] < file
.br
program |
.B oii
CMD [ARGS ...]
.SH DESCRIPTION
Run the given program passing in stdin but only if at least one byte of input
is actually received, rather like the -E switch to mail(1) behaves on
bsd-mailx.  If no input is received, exit silently with an error status.
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>