From: Clinton Bunch <cdbunch@zentaur.org>
To: zsh-users@zsh.org
Subject: Re: Odd behavior using MULTIOS
Date: Wed, 11 Nov 2020 11:36:53 -0600 [thread overview]
Message-ID: <d026862f-1cdc-b7d9-b7a6-7f8869efb6ac@zentaur.org> (raw)
In-Reply-To: <555026373.1332792.1605115537691@mail2.virginmedia.com>
Ok. Well I got the same result on 4.3.17 on HP-UX 11.31 and 5.5.1 on
Centos Linux 8. So if it's a bug, it's been there a while.
Although my original use case was to create a file descriptor that
printed both to stderr and a log file, where simple messages would be
printed to both while more details could be sent to the logfile without
doubling the print statements for the simple messages. So the ordering
problem I initially posted about would affect this use case as well,
making it, for me at least, moot.
On 11/11/2020 11:25 AM, Peter Stephenson wrote:
>> On 11 November 2020 at 17:11 Clinton Bunch <cdbunch@zentaur.org> wrote:
>> Another thing I noticed is that MULTIOS doesn't appear to work with exec
>>
>> i.e.
>>
>> exec 3>/tmp/test1 3>/tmp/test2
>>
>> causes the script to hang.
>>
>> I'm not sure why. Am I just being dense today?
> That sounds like a real bug. The implementation is going to be a little
> different for this case, indeed we effectively get a coprocess so anyone
> fixing it may have their work cut out, but I'm not aware of any actual
> expectation that it doesn't work, and certainly not that it hangs.
>
> pws
>
prev parent reply other threads:[~2020-11-11 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-11 16:25 Clinton Bunch
2020-11-11 16:42 ` Peter Stephenson
2020-11-11 17:11 ` Clinton Bunch
2020-11-11 17:25 ` Peter Stephenson
2020-11-11 17:36 ` Clinton Bunch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d026862f-1cdc-b7d9-b7a6-7f8869efb6ac@zentaur.org \
--to=cdbunch@zentaur.org \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).