Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: capturing stderr to variable.



On Nov 14,  9:20am, Ray Andrews wrote:
}
} > 	{ highlight ... >/dev/tty } 2>&1 | read highlight_err
} >
} Well that sure beats some of the solutions I found on the net.  The only 
} think obscure there is why redirecting stdout to where it's going anyway 
} does anything.

It's equivalent to opening the same file twice.
 
} Speaking of obscurites, have you given any thought to that cloning of 
} the environment thing I mentioned a while  back?

I'd have to see the entire output of "set" rather than just the result
of grepping it.  (And it'd be preferable that you not post that to the
list ...)



Messages sorted by: Reverse Date, Date, Thread, Author