|
From: | Bob Proulx |
Subject: | Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened |
Date: | Wed, 18 Nov 2015 16:17:57 -0700 |
User-agent: | Mutt/1.5.24 (2015-08-30) |
Pádraig Brady wrote: > Already done in the previous v8.24 release: Bob Proulx wrote: > If you ignore SIGPIPE in tee in the above then what will terminate the > tee process? Since the input is not ever terminated. http://www.gnu.org/software/coreutils/manual/html_node/tee-invocation.html#tee-invocation ‘-p’ ‘--output-error[=mode]’ Select the behavior with errors on the outputs, where mode is one of the following: ... ‘warn-nopipe’ Warn on error opening or writing any output, except pipes. Writing is continued to still open files/pipes. Exit status indicates failure if any non pipe output had an error. This is the default mode when not specified. Ah... I see. Bob
[Prev in Thread] | Current Thread | [Next in Thread] |