Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is it possible to capture stdout and stderr to separate variables in Zsh?
- X-seq: zsh-users 16840
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Is it possible to capture stdout and stderr to separate variables in Zsh?
- Date: Tue, 6 Mar 2012 09:09:06 +0100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of nikolai.weibull@xxxxxxxxx designates 10.68.235.34 as permitted sender) smtp.mail=nikolai.weibull@xxxxxxxxx; dkim=pass header.i=nikolai.weibull@xxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=s4khpRkpj7y1IJvIpMXtM2iQnlDwzv62/ds2e/5nqsg=; b=dnK7jc8Z8LJC33NjIGEmKjVXdFQh4z5n34sNkyKt1FAe0VgqF7Ti0Z/EskDIzyAGOM 8ZVbHBGnMVrAb6a0LDX4MM//mPnKvjkDo8FQkd4KWJobsOG925Cd9rSGk5dJjjuhmcX0 N2Ueie4079sfHID2U7JziGxCWsdpISqrhtEZdMHeHBu2uMbSOGGkN0Hs2PHPC7KbXDar ruSep1EPpmYkbuDMD6rrTGF2AmkjOZbl5vvPwG3tqgW3WWeoDJ2+c5xTq4vMnT40WTho gsa7LuuGQZN7deeYQ2T0Gkf4Js02A6CJax2MxzSwbmX4Yy0vnXJeHBJOwXLmrPAilZkJ K2TQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
Hi!
Is it possible to capture stdout and stderr to separate variables in Zsh?
I understand that it’s not possible in sh, but I was wondering if any
of Zsh’s additions in the redirection area would allow for such a
separation.
Thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author