zsh-users
 help / color / mirror / code / Atom feed
* Mixing and multiple redirection of stderr/stdout
@ 2011-05-18  1:25 Michael Lehn
  2011-05-18  2:56 ` Bart Schaefer
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Lehn @ 2011-05-18  1:25 UTC (permalink / raw)
  To: zsh-users

Hi,

I am wondering whether I can achieve the following with zsh:

Some script produces output on stdout and stderr, now I want

(1) redirect the sync-mix of stdout and stderr to some file file_mix
(2) redirect stdout to file_out
(3) redirect stderr to file_err

After reading the zsh-lovers man page I thought that it is possible.
However, I even fail when I try to achieve only (1) and (3) via

	./script > file_mix 2>&1 2>file_err

So I guess I completely did not get the point ... Could anybody
help me on this?

Michael


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-18 17:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18  1:25 Mixing and multiple redirection of stderr/stdout Michael Lehn
2011-05-18  2:56 ` Bart Schaefer
2011-05-18  5:13   ` Aaron Davies
2011-05-18  9:18     ` Michael Lehn
2011-05-18 14:26       ` Bart Schaefer
2011-05-18 14:36         ` Michael Lehn
2011-05-18 17:33         ` Aaron Davies

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).