Re: i/o redirection into variables

2006-03-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dirk H. Schulz on 3/28/2006 6:32 AM: > Hi folks, > > I am looking for a possiblity to redirect error output into a variable: > > Instead of redirecting to a file > ( e.g. > command 2>>errorlogfile > ) > > I would like to redirect

Re: i/o redirection into variables

2006-03-28 Thread Andreas Schwab
"Dirk H. Schulz" <[EMAIL PROTECTED]> writes: > I am looking for a possiblity to redirect error output into a variable: > > Instead of redirecting to a file > ( e.g. > command 2>>errorlogfile > ) > > I would like to redirect into a variable. > > Is this generally possible? exec 3>&1 stderr=$