Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] a puzzle about a bash script in buildservice/src/build/build
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Mon, 12 Oct 2009 12:41:52 +0200
  • Message-id: <4AD307F0.70000@xxxxxxx>
Dne 12.10.2009 12:11, Jian Lee napsal(a):
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 ?

Look for "Process Substitution" in the bash manual page.

Michal
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References