Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: feature request



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