--output-error
Set behavior on write error; MODE can be: warn, warn-nopipe, exit, exit-nopipe.
An option of teex.
Usage
teex --output-error[=MODE] [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--output-error | MODE (optional) | set behavior on write error; MODE can be: warn, warn-nopipe, exit, exit-nopipe |
Examples
Report a closed pipe as an error and stop
yesx | teex --output-error=exit copy.txt | headx -n 1Carry on to the other files when one cannot be written
echox data | teex --output-error=warn a.txt missing/b.txt c.txtHelp in the terminal
gnux help teex --output-error