Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: feature request
- X-seq: zsh-workers 45317
- From: Andreas Kusalananda Kähäri <andreas.kahari@xxxxxx>
- To: Yefim Vedernikoff <hi@xxxxxx>
- Subject: Re: feature request
- Date: Fri, 17 Jan 2020 00:17:06 +0100
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: Yefim Vedernikoff <hi@xxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author