Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Capture stdout, stdin, and exit status in different variables without using temporary files
- X-seq: zsh-users 24143
- From: Aryn Starr <whereislelouch@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Capture stdout, stdin, and exit status in different variables without using temporary files
- Date: Thu, 15 Aug 2019 20:22:38 +0430
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565884365; bh=H+B3ZmtJJzX1x5BafBJF2AZUG/0IJIJT68c+joQrUXA=; h=From:Content-Type:Date:Subject:Message-Id:To; b=qH4OB0viXh9jCp48XYwzFf4e5Y3EhNn3wR2k78SP5xvnMTGGgWU4CBsnj1GDfcK0q A/DTuTYBsuV4luHOmhDKpTx15UgGEP+4jOZFQMfL/mhNMuJu2InwyWQo75pXsGzt2S dPB0WNcfJx0DcTv4aFARMOqNEW5BCx3AUZHR0iDE4x8ldNCFbO33orDstIs+hpNN1R g6Tx4te++vDwmpRfwQy/ShJWouJ2xghq9HSpuT3NcVMkZ0mvn7nS8KtgXrHuLoqdjE 21113TYHF81D1/n3fyWih1eQmbs/VtPHv5vh0hIIkHfOXWqOefkCV1Vl3HA9nnvdL+ TzZS/wbYGd4yA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Per http://mywiki.wooledge.org/BashFAQ/002, it seems this can not be done in bash. Is it possible in zsh?
If not, is a named pipe advantageous to a temporary file?
Is there a way to avoid disk IO (which will probably slow things down considerably)?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author