It's my fault.
I mistake something like this
exec 6>&1 1>&-
echo "To a closed fd"

Kumar Appaiah wrote:
On Tue, Mar 04, 2008 at 12:10:25PM +0800, hhding wrote:
Any method to redirect any fd to the pipe?
Not only stdout,stderr.

If you mean both stdout and stderr

./configure 2>&1 | tee log.txt

would work. But I don't know if that is what you meant.

HTH.

Kumar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to