Op 24-06-18 om 05:08 schreef Peter Passchier:
With memory being abundant and filesystem access expensive, I want to
put stdout and stderr of a command into variables (without needing to
write to a file):
output=$($command 2>>>errors)
This would not work even if the feature is implemented. The
Thank you for the feedback, very insightful. Yes, scratch that first
'example'. Yay for the here-variable redirection!
I am surprised by the general internal usage of temporary files for
here-documents & here-strings, because (generally speaking) memory is
quite abundant, and here-strings and even
Date:Sun, 24 Jun 2018 22:26:52 +0700
From:Peter Passchier
Message-ID:
| I am surprised by the general internal usage of temporary files for
| here-documents & here-strings, because (generally speaking) memory is
| quite abundant,
That's not the real issue - ra
On 06/25/2018 12:27 AM, Robert Elz wrote:
> That's not the real issue - rather it is that a here doc is presented to the
> command beng run as a file descrptior
OK, thanks, that makes sense. In the case of a here-variable, that would
definitely be the case then.
Peter
On Sun, Jun 24, 2018 at 8:35 PM, Peter Passchier
wrote:
> On 06/25/2018 12:27 AM, Robert Elz wrote:
> > That's not the real issue - rather it is that a here doc is presented to
> the
> > command beng run as a file descrptior
>
> OK, thanks, that makes sense. In the case of a here-variable, that w