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=$

i/o redirection into variables

2006-03-28 Thread Dirk H. Schulz
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 into a variable. Is this generally possible? Dirk ___ Bug-bash maili

Re: echo "enhancement" leads to confused legacy script tools...

2006-03-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 3/20/2006 11:58 PM: >>> There's a little history here. POSIX 1003.2-1992 said that echo has >>> implementation-defined behavior if given any options, or if any >> Are you sure about "any option"? The current spec only talk