Skip to Content
gnux

--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

ShortLongValueDefaultMeaning
--output-errorMODE (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 1

Carry on to the other files when one cannot be written

echox data | teex --output-error=warn a.txt missing/b.txt c.txt

Help in the terminal

gnux help teex --output-error

On this page