From: Clinton Bunch <cdb_zsh@zentaur.org>
To: zsh-users@zsh.org
Subject: Odd behavior using MULTIOS
Date: Wed, 11 Nov 2020 10:25:29 -0600 [thread overview]
Message-ID: <02c5fda1-c1ab-d0a0-9350-a5b122cd1394@zentaur.org> (raw)
Is this the expected behavior?
% cat /etc/system-release
CentOS Linux release 8.2.2004 (Core)
% uname -a
Linux cdblinux.cfhp.com 4.18.0-193.14.2.el8_2.x86_64 #1 SMP Sun Jul 26
03:54:29 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
% echo $ZSH_VERSION
5.5.1
% cat test.zsh
#!/bin/zsh
setopt MULTIOS
{
print -u3 "Testing"
print "Second Testing"
} 3>&1 3>/tmp/test
% zsh test.zsh
Second Testing
Testing
% cat /tmp/test
Testing
%
next reply other threads:[~2020-11-11 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-11 16:25 Clinton Bunch [this message]
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
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=02c5fda1-c1ab-d0a0-9350-a5b122cd1394@zentaur.org \
--to=cdb_zsh@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).