On Thu, Jul 01, 2004 at 09:25:24AM -0800, Thomison, Lee <ThomisonL@ci.anchorage.ak.us> wrote:
>
> As an alternative, is there a way to redirect stdout and stderr to a
> variable in the bashscript, rather than a file?
You can use backquote substitution to capture the output:
SHELLVAR=`scp blahblah`
I suppose you could throw a 2>&1 in there too.
-- Bryan Medsker bryan@ak.net --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.Received on Thu Jul 1 20:49:00 2004
This archive was generated by hypermail 2.1.8 : Thu Jul 01 2004 - 20:49:01 AKDT