Re: Bash question - redirect stderr to a variable

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Fries
Date:  
To: Main PLUG discussion list
Subject: Re: Bash question - redirect stderr to a variable
On 03/15/2011 04:01 PM, Ben Trussell wrote:
> This might be helpful (and by that I mean mostly not helpful - you can
> easily send stderr to a file then input a file into a variable
> however).
>
> http://stackoverflow.com/questions/962255/redirecting-stderr-to-a-variable-in-a-bash-script

Also, have you seen this?

http://www.linuxquestions.org/questions/programming-9/bash-input-output-redirect-problem-515156/

It does a similar process but uses a fifo queue.

Kevin
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss