bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redirect to variable


From: PePa
Subject: Redirect to variable
Date: Mon, 21 May 2018 09:21:52 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

I would like to do something like this, where output gets redirected
into a variable:

some-command >>> variablename1 2>>>variablename2

command-with-many-output-descriptors >>> var1 3>>> var3 4>>> var4

The idea is not needing files to be created but to just use memory. Half
a year ago I posted this idea here, but didn't get any reply, maybe this
isn't the right place? Am I blacklisted??

Anyway, I keep using bash.
Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]