coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request for tee - please add the option to not quit on S


From: Eric Blake
Subject: Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened
Date: Fri, 20 Nov 2015 11:08:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/20/2015 10:38 AM, Bernhard Voelker wrote:
> On 11/20/2015 01:08 PM, Pádraig Brady wrote:
>> +  tee no longer diagnoses write errors to a closed standard output, as this
>> +  can be useful when further piping the output from process substitutions.
> 
> I'm not sure this is allowed by POSIX,

POSIX says you are non-conforming the moment you start an application
with fd 0, 1, or 2 closed, and that all bets are off (so we can do
whatever we think makes the most sense, but if it is more than just tee
with stdout closed we may be aggravating the problem).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]