From: "Andreas Kusalananda Kähäri" <andreas.kahari@abc.se>
To: Yefim Vedernikoff <hi@yef.im>
Cc: zsh-workers@zsh.org
Subject: Re: feature request
Date: Fri, 17 Jan 2020 00:17:06 +0100 [thread overview]
Message-ID: <20200116231706.GA29320@pooh.prefix.duckdns.org> (raw)
In-Reply-To: <CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com>
On Thu, Jan 16, 2020 at 05:10:03PM -0500, Yefim Vedernikoff wrote:
> What would it take to add a new environment variable like $OUTPUT to keep
> track of the last output? I like the $(!!) solution from
> https://stackoverflow.com/questions/24283097/reusing-output-from-last-command-in-bash
> but I don't like that it redoes the work (especially if the work is
> intensive).
>
> -Yefim
Even if this was possible, consider the memory resources needed to store
something like the output of the simple command "yes".
--
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden
.
next prev parent reply other threads:[~2020-01-16 23:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 22:10 Yefim Vedernikoff
2020-01-16 22:18 ` Eric Cook
2020-01-16 23:17 ` Andreas Kusalananda Kähäri [this message]
2020-01-16 23:57 ` Daniel Shahaf
2020-01-17 1:49 ` Sebastian Gniazdowski
2020-01-17 2:51 ` Sebastian Gniazdowski
2020-01-17 2:35 ` Martijn Dekker
2020-01-18 18:59 ` Vincent Lefevre
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=20200116231706.GA29320@pooh.prefix.duckdns.org \
--to=andreas.kahari@abc.se \
--cc=hi@yef.im \
--cc=zsh-workers@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).