[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: |
Jim Meyering |
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 18:38:14 +0100 |
On Fri, Nov 20, 2015 at 1:08 PM, Pádraig Brady <address@hidden> wrote:
> On 20/11/15 02:20, Pádraig Brady wrote:
>> I'm coming around to making a change here.
>>
>> Either be quiet about:
>> datagen | tee >(sha1sum --tag) >(md5sum --tag) >&- | sort | gpg --clearsign
>>
>> Or support:
>> datagen | tee --no-stdout >(sha1sum --tag) >(md5sum --tag) | sort | gpg
>> --clearsign
>>
>> I like the idea of supporting this with no new option.
>> I see we have similar EBADF handling in touch and nohup.
>> I'll sleep on it.
>
> The attached supports the >&- usage above.
Doesn't this suppress a diagnostic that is likely to be valuable to anyone who
accidentally runs an affected tool from a context with closed standard output?
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, (continued)
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Jirka Hladky, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Bob Proulx, 2015/11/22
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/22
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Jirka Hladky, 2015/11/23
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/23
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Jirka Hladky, 2015/11/22
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Jirka Hladky, 2015/11/19
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/19
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened,
Jim Meyering <=
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Pádraig Brady, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Bernhard Voelker, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Eric Blake, 2015/11/20
- Re: Enhancement request for tee - please add the option to not quit on SIGPIPE when someother files are still opened, Jirka Hladky, 2015/11/20