Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14116

Redirect to variable

From PePa <peterkelly@passchier.net>
Newsgroups gnu.bash.bug
Subject Redirect to variable
Date 2018-05-21 09:21 +0700
Message-ID <mailman.144.1526869326.1292.bug-bash@gnu.org> (permalink)

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Redirect to variable PePa <peterkelly@passchier.net> - 2018-05-21 09:21 +0700

csiph-web