From 5e9c277f995c517e4403c87e74b758d5b65004f2 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Mon, 2 Mar 2015 20:06:17 +0000 Subject: tee: generalize the --write-error option to --output-error Adjust commit v8.23-140-gfdd6ebf to add the --output-error option instead of --write-error, and treat open() errors like write() errors. * doc/coreutils.texi (tee invocation): s/write-error/output-error/. * src/tee.c (main): Exit on open() error if appropriate. * tests/misc/tee.sh: Add a case to test open() errors. * NEWS: Adjust for the more general output error behavior. Suggested by Bernhard Voelker. --- NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 8aef1a672..1a5123574 100644 --- a/NEWS +++ b/NEWS @@ -58,7 +58,8 @@ GNU coreutils NEWS -*- outline -*- sync no longer ignores arguments, and syncs each specified file, or with the --file-system option, the file systems associated with each specified file. - tee accepts a new --write-error option to control operation with pipes. + tee accepts a new --output-error option to control operation with pipes + and output errors in general. ** Changes in behavior -- cgit v1.2.3-70-g09d2