Mailinglist Archive: opensuse-buildservice (248 mails)
| < Previous | Next > |
[opensuse-buildservice] a puzzle about a bash script in buildservice/src/build/build
- From: Jian Lee <lijian.gnu@xxxxxxxxx>
- Date: Mon, 12 Oct 2009 18:11:44 +0800
- Message-id: <1255342304.1108.11.camel@localhost>
Hi,all
I've a puzzle about a bash script in buildservice/src/build/build,
--------------------------------------------------------------------------
exec 1> >(exec -a 'build logging tee' tee -a $LOGFILE) 2>&1
==========================================================================
I known this redirect stdout and stderr to $LOGFILE and stdout, and
rename the cmdling look like this :" build logging tee -a $LOGFILE".
but what's mean about "1>" and a blackspace, and what's mean about
">(...)" , I known "(...)" to exec a progress use fork, but when
"(...)" done, a fd get ?
thanks, all.
--
Thanks from Jian Lee
[HOME] http://jianlee.ylinux.org
[MSN] lijian.gnu@xxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
I've a puzzle about a bash script in buildservice/src/build/build,
--------------------------------------------------------------------------
exec 1> >(exec -a 'build logging tee' tee -a $LOGFILE) 2>&1
==========================================================================
I known this redirect stdout and stderr to $LOGFILE and stdout, and
rename the cmdling look like this :" build logging tee -a $LOGFILE".
but what's mean about "1>" and a blackspace, and what's mean about
">(...)" , I known "(...)" to exec a progress use fork, but when
"(...)" done, a fd get ?
thanks, all.
--
Thanks from Jian Lee
[HOME] http://jianlee.ylinux.org
[MSN] lijian.gnu@xxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |